X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=test%2Fbasicpp.cpp;h=e1c103663b91b8e4903b39a20710cb5518e57561;hb=98b9d73682733072d66d6db3beb15e7309805cf5;hp=3b8b77f790e10e9ca10545f7e985cdc9c578dfab;hpb=6d1ac53f5c34ece4c7a82efb432a8e1d81fcff0d;p=meshlink diff --git a/test/basicpp.cpp b/test/basicpp.cpp index 3b8b77f7..e1c10366 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"); 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"); if(!mesh) { cerr << "Could not open configuration for foo a second time\n"; return 1;