X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=test%2Fbasicpp.cpp;h=548812c04ebe4ea426d14b0a53dd3c8bc2cc7223;hb=91b259305f29a00dd3ed587d23400f4a988f339a;hp=d82610e3e5ce151f9dca14634200d3bf4b8d4db9;hpb=00a82b0476d62064d445277f2c572239121e1a8e;p=meshlink diff --git a/test/basicpp.cpp b/test/basicpp.cpp index d82610e3..548812c0 100644 --- a/test/basicpp.cpp +++ b/test/basicpp.cpp @@ -8,7 +8,7 @@ using namespace std; int main(int argc, char *argv[]) { // Open a new meshlink instance. - meshlink::mesh *mesh = meshlink::open("basicpp_conf", "foo"); + meshlink::mesh *mesh = meshlink::open("basicpp_conf", "foo", "basicpp", DEV_CLASS_BACKBONE); if(!mesh) { cerr << "Could not initialize configuration for foo\n"; return 1; @@ -48,7 +48,7 @@ int main(int argc, char *argv[]) { // Check that the name is ignored now, and that we still are "foo". - mesh = meshlink::open("basic_conf", "bar"); + mesh = meshlink::open("basic_conf", "bar", "basicpp", DEV_CLASS_BACKBONE); if(!mesh) { cerr << "Could not open configuration for foo a second time\n"; return 1;