celix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [celix] Oipo commented on a change in pull request #139: Add parsing of version and filter on version when calling useService*.
Date Mon, 13 Jan 2020 19:23:33 GMT
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

Mime
View raw message