[X2Go-Commits] [nx-libs] 01/01: nxcomp/src/Log.h: reorder initializer lists to silence compiler warnings.

git-admin at x2go.org git-admin at x2go.org
Mon Dec 25 03:15:25 CET 2017


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch 3.6.x-rpm-debug
in repository nx-libs.

commit 54ebf96542959de0291763b91d8836210e77ac17
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Mon Dec 25 03:08:52 2017 +0100

    nxcomp/src/Log.h: reorder initializer lists to silence compiler warnings.
---
 nxcomp/src/Log.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nxcomp/src/Log.h b/nxcomp/src/Log.h
index eab8266..e6fb815 100644
--- a/nxcomp/src/Log.h
+++ b/nxcomp/src/Log.h
@@ -105,7 +105,7 @@ class NXLogStamp
     }
 
 
-    NXLogStamp(NXLogLevel level, const char *file = "", const char *function = "", size_t line = 0) : level_(level), file_(file), function_(function), line_(line)
+    NXLogStamp(NXLogLevel level, const char *file = "", const char *function = "", size_t line = 0) : file_(file), function_(function), line_(line), level_(level)
     {
         gettimeofday(&timestamp_, NULL);
     }
@@ -269,7 +269,7 @@ class NXLog
 
 
     public:
-    NXLog() : stream_(&std::cerr), level_(NXWARNING), synchronized_(true), thread_buffer_size_(1024),
+    NXLog() : level_(NXWARNING), stream_(&std::cerr), synchronized_(true), thread_buffer_size_(1024),
               log_level_(false), log_time_(false), log_unix_time_(false), log_location_(false), log_thread_id_(false)
     {
         if ( pthread_key_create(&tls_key_, free_thread_data) != 0 )

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list