[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/kode-x/kode
From: Tobias Koenig <tokoe () kde ! org>
Date: 2005-11-03 13:04:29
Message-ID: 1131023069.946096.17945.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 477237 by tokoe:
Only add d-pointer in the empty constructor
M +2 -2 printer.cpp
--- branches/work/kode-x/kode/printer.cpp #477236:477237
@@ -317,7 +317,7 @@
needNewLine = true;
}
if ( needNewLine ) code.newLine();
-
+
Function::List functions = c.functions();
Function::List::ConstIterator it;
for( it = functions.begin(); it != functions.end(); ++it ) {
@@ -334,7 +334,7 @@
}
code += "{";
- if ( c.useDPointer() && !c.memberVariables().isEmpty() && f.name() == c.name() ) \
{ + if ( c.useDPointer() && !c.memberVariables().isEmpty() && f.name() == c.name() \
&& f.arguments().isEmpty() ) { code.indent();
code += "d = new PrivateDPtr;";
code.unindent();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic