Make sure code compiles on Ubuntu 12.04 with boost 1.46
Work with permissions in boost::filesystem was introduced in boost 1.49
diff --git a/ccnx/ccnx-discovery.cpp b/ccnx/ccnx-discovery.cpp
index afb0307..e6c4e84 100644
--- a/ccnx/ccnx-discovery.cpp
+++ b/ccnx/ccnx-discovery.cpp
@@ -22,12 +22,12 @@
TaggedFunction::GetRandomTag()
{
//boost::random::random_device rng;
- boost::random::uniform_int_distribution<> dist(0, CHAR_SET.size() - 1);
+ //boost::random::uniform_int_distribution<> dist(0, CHAR_SET.size() - 1);
ostringstream oss;
- for (int i = 0; i < DEFAULT_TAG_SIZE; i++)
- {
+ //for (int i = 0; i < DEFAULT_TAG_SIZE; i++)
+ //{
//oss << CHAR_SET[dist(rng)];
- }
+ //}
return oss.str();
}