[X2Go-Commits] [nx-libs] 01/01: nxcomp/src/Log.h: swap optional and non-optional parameters to NXLogStamp constructor.

git-admin at x2go.org git-admin at x2go.org
Mon Dec 25 02:34:27 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 b5da9e4810951c21eaad68209bfda7b96f2de361
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Mon Dec 25 02:34:00 2017 +0100

    nxcomp/src/Log.h: swap optional and non-optional parameters to NXLogStamp constructor.
---
 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 a9410f2..819ebd8 100644
--- a/nxcomp/src/Log.h
+++ b/nxcomp/src/Log.h
@@ -105,7 +105,7 @@ class NXLogStamp
     }
 
 
-    NXLogStamp(const char *file = NULL, const char *function = NULL, size_t line = 0, NXLogLevel level) : file_(file), function_(function), line_(line), level_(level)
+    NXLogStamp(NXLogLevel level, const char *file = NULL, const char *function = NULL, size_t line = 0) : level_(level), file_(file), function_(function), line_(line)
     {
         gettimeofday(&timestamp_, NULL);
     }
@@ -471,7 +471,7 @@ class NXLog
 extern NXLog nx_log;
 
 
-#define nxstamp(l)        NXLogStamp(__FILE__, __func__, __LINE__, l)
+#define nxstamp(l)        NXLogStamp(l, __FILE__, __func__, __LINE__)
 #define nxstamp_append(l) NXLogStamp(l)
 
 

--
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