[pkg-d-commits] [ldc] 129/211: Order initializations according to how they will happen at runtime. [NFC]

Matthias Klumpp mak at moszumanska.debian.org
Sun Apr 23 22:36:16 UTC 2017


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

mak pushed a commit to annotated tag v1.1.0
in repository ldc.

commit c1b08f1fe6a90b396d8b51a417707441e7092375
Author: Johan Engelen <jbc.engelen at gmail.com>
Date:   Tue Nov 8 11:30:22 2016 +0100

    Order initializations according to how they will happen at runtime. [NFC]
---
 ir/irtypeaggr.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ir/irtypeaggr.cpp b/ir/irtypeaggr.cpp
index 7d14415..95aeb90 100644
--- a/ir/irtypeaggr.cpp
+++ b/ir/irtypeaggr.cpp
@@ -43,7 +43,7 @@ bool var_offset_sort_cb(const VarDeclaration *v1, const VarDeclaration *v2) {
 }
 
 AggrTypeBuilder::AggrTypeBuilder(bool packed, unsigned offset)
-    : m_packed(packed), m_offset(offset) {
+    : m_offset(offset), m_packed(packed) {
   m_defaultTypes.reserve(32);
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-d/ldc.git



More information about the pkg-d-commits mailing list