use BUILT_SOURCES to avoid listing client.cpp and server.cpp dependencies manually...
[libt2n] / examples / minimalistic-server.cpp
index 46cb9ec..dde3843 100644 (file)
@@ -5,8 +5,6 @@
  ***************************************************************************/
 
 #include <string>
-#include <stdexcept>
-
 #include "minimalistic-stub.hxx"
 
 #include <socket_server.hxx>
@@ -14,7 +12,9 @@
 
 using namespace std;
 
-LIBT2P_EXPORT string testfunc(const string& str) 
+LIBT2N_SET_DEFAULTGROUP(example);
+
+LIBT2N_EXPORT std::string testfunc(const string& str) 
 {
     string ret;
     if (str=="throw")