added LIBT2N_SET_DEFAULTGROUP
[libt2n] / examples / minimalistic-server.cpp
index 1b5e3a2..90dbc22 100644 (file)
@@ -12,7 +12,9 @@
 
 using namespace std;
 
-LIBT2N_EXPORT_GROUP(example) string testfunc(const string& str) 
+LIBT2N_SET_DEFAULTGROUP(example)
+
+LIBT2N_EXPORT string testfunc(const string& str) 
 {
     string ret;
     if (str=="throw")