You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by pn...@apache.org on 2018/11/12 06:44:14 UTC

celix git commit: CELIX-454: Fixes a compile error for a older C++ compiler

Repository: celix
Updated Branches:
  refs/heads/feature/CELIX-454-pubsub-disc fe8686651 -> 2b8f92dfa


CELIX-454: Fixes a compile error for a older C++ compiler


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/2b8f92df
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/2b8f92df
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/2b8f92df

Branch: refs/heads/feature/CELIX-454-pubsub-disc
Commit: 2b8f92dfa5192d87df6bbe9acb3195897e30ec18
Parents: fe86866
Author: Pepijn Noltes <pe...@gmail.com>
Authored: Mon Nov 12 07:43:47 2018 +0100
Committer: Pepijn Noltes <pe...@gmail.com>
Committed: Mon Nov 12 07:43:47 2018 +0100

----------------------------------------------------------------------
 bundles/pubsub/test/test/sut_activator.c  | 2 +-
 bundles/pubsub/test/test/tst_activator.cc | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/2b8f92df/bundles/pubsub/test/test/sut_activator.c
----------------------------------------------------------------------
diff --git a/bundles/pubsub/test/test/sut_activator.c b/bundles/pubsub/test/test/sut_activator.c
index b2a0d0a..58c6d48 100644
--- a/bundles/pubsub/test/test/sut_activator.c
+++ b/bundles/pubsub/test/test/sut_activator.c
@@ -123,4 +123,4 @@ static void* sut_sendThread(void *data) {
     printf("Send %i messages\n", msg.seqNr);
 
     return NULL;
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/celix/blob/2b8f92df/bundles/pubsub/test/test/tst_activator.cc
----------------------------------------------------------------------
diff --git a/bundles/pubsub/test/test/tst_activator.cc b/bundles/pubsub/test/test/tst_activator.cc
index ffffa9e..cd19aaf 100644
--- a/bundles/pubsub/test/test/tst_activator.cc
+++ b/bundles/pubsub/test/test/tst_activator.cc
@@ -36,7 +36,7 @@ extern "C" {
 static int tst_receive(void *handle, const char *msgType, unsigned int msgTypeId, void *msg, bool *release);
 
 struct activator {
-    pubsub_subscriber_t subSvc{};
+    pubsub_subscriber_t subSvc;
     long subSvcId;
 
     pthread_mutex_t mutex;