diff options
author | Volker Krause <volker.krause@kdab.com> | 2015-05-11 10:45:38 +0200 |
---|---|---|
committer | Volker Krause <volker.krause@kdab.com> | 2015-05-14 12:06:41 +0000 |
commit | 7d1ec1ae9e263df1a655e13f8feea7b5a5c7d9ed (patch) | |
tree | 5e9efe4a9677d82ae0765e1afbe4dcc1a280f6d8 /src/corelib/global | |
parent | a4cba90e194a65930c0e66469cd2ef2cc5c1f5ed (diff) |
Reorder member variables to avoid padding.
Saves 8 byte in each case on 64bit systems, no change on 32bit systems.
Change-Id: I2a2e8786fc7914ee9ae369ba05bedfc9e5e0ca5c
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/corelib/global')
-rw-r--r-- | src/corelib/global/qlogging.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/global/qlogging.cpp b/src/corelib/global/qlogging.cpp index d9d21c535c..447a875655 100644 --- a/src/corelib/global/qlogging.cpp +++ b/src/corelib/global/qlogging.cpp @@ -972,8 +972,8 @@ struct QMessagePattern { QElapsedTimer timer; #endif #ifdef QLOGGING_HAVE_BACKTRACE - int backtraceDepth; QString backtraceSeparator; + int backtraceDepth; #endif bool fromEnvironment; @@ -986,8 +986,8 @@ QMessagePattern::QMessagePattern() : literals(0) , tokens(0) #ifdef QLOGGING_HAVE_BACKTRACE - , backtraceDepth(5) , backtraceSeparator(QLatin1Char('|')) + , backtraceDepth(5) #endif , fromEnvironment(false) { |