commit | b1710aac0b50709895f3be00cc68265d19ef01fd | [log] [tgz] |
---|---|---|
author | akmhoque <akmhoque@gmail.com> | Wed Feb 19 17:13:36 2014 -0600 |
committer | akmhoque <akmhoque@gmail.com> | Wed Feb 19 17:13:36 2014 -0600 |
tree | 08eb8a3e7f98e14f8afed07ef70aae586b57336f | |
parent | 1a4810947f0e61f1cbf91972fb0e91ed58508388 [diff] [blame] |
Adding namespace nlsr
diff --git a/src/nlsr.cpp b/src/nlsr.cpp index a8b1cb8..761365d 100644 --- a/src/nlsr.cpp +++ b/src/nlsr.cpp
@@ -14,6 +14,8 @@ //test purpose of NLSR #include "nlsr_test.hpp" +namespace nlsr { + using namespace ndn; using namespace std; @@ -55,9 +57,14 @@ exit(EXIT_FAILURE); } + +} // namespace nlsr + +using namespace nlsr; + int main(int argc, char **argv){ - Nlsr nlsr_; + nlsr::Nlsr nlsr_; string programName(argv[0]); nlsr_.setConfFileName("nlsr.conf");