Changing API from ndn.cxx to ndn-cpp
Change-Id: Ie0fe7d75e4ed056dec6e9da906f9c8808ad9a0ca
diff --git a/src/main.cpp b/src/main.cpp
index df4511b..219151e 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -16,7 +16,6 @@
#include "dns-storage.h"
#include "contact-manager.h"
#include "logging.h"
-#include <ndn.cxx/wrapper/wrapper.h>
INIT_LOGGER("MAIN");
@@ -34,12 +33,8 @@
try {
return QApplication::notify(receiver, event);
}
- catch(ndn::Error::ndnOperation& e){
- std::cerr << "Canno connect to ndnd!" << endl;
- return false;
- }
catch(std::exception& e){
- std::cerr << "Exception thrown:" << e.what() << endl;
+ std::cerr << "Exception thrown:" << e.what() << std::endl;
return false;
}