You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@celix.apache.org by GitBox <gi...@apache.org> on 2020/01/13 19:23:33 UTC

[GitHub] [celix] Oipo commented on a change in pull request #139: Add parsing of version and filter on version when calling useService*.

Oipo commented on a change in pull request #139: Add parsing of version and filter on version when calling useService*.
URL: https://github.com/apache/celix/pull/139#discussion_r365983008
 
 

 ##########
 File path: libs/framework/tst/bundle_context_services_test.cpp
 ##########
 @@ -87,7 +87,7 @@ TEST(CelixBundleContextServicesTests, registerMultipleAndUseServices) {
     };
 
     const char *calcName = "calc";
-    struct calc svc;
+    struct calc svc{};
 
 Review comment:
   Do you mean a compiler error? This online example shows that it properly initializes the struct with 0: http://cpp.sh/8xalo

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services