Skip to content

Commit 199de9d

Browse files
committed
Code simplify
* XSC/be/CXX/Header.cpp:
1 parent dd45753 commit 199de9d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

XSC/be/CXX/Header.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ namespace
186186
break;
187187
case CPPMODE::CPP11:
188188
case CPPMODE::CPP17:
189-
os << "using " << name << "_container_type = " << container << "< " << type << ">;";
189+
os << "using " << name << "_container_type = " << container << "<" << type << ">;";
190190
break;
191191
}
192192
switch(this->cppmode_)
@@ -237,7 +237,7 @@ namespace
237237
os << "bool " << name << "_p () const;";
238238
os << type << " const& " << id (name) << " () const;";
239239
// os << type << "& " << id (name) << " ();"; // Lets just have one mutator
240-
os << "void " << id (name) << " (" << type << " const& );";
240+
os << "void " << id (name) << " (" << type << " const&);";
241241

242242
//Added for IDREF case
243243
if ((idref_ptr != std::string::npos) && (this->cppmode_ == CPPMODE::CPP03))
@@ -267,7 +267,7 @@ namespace
267267
//
268268
os << type << " const& " << id (name) << " () const;";
269269
// os << type << "& " << id (name) << " ();"; // Lets just have one mutator.
270-
os << "void " << id (name) << " (" << type << " const& );";
270+
os << "void " << id (name) << " (" << type << " const&);";
271271

272272
//Added for IDREF case
273273
if ((idref_ptr != std::string::npos) && (this->cppmode_ == CPPMODE::CPP03))
@@ -339,7 +339,7 @@ namespace
339339
os << "bool " << name << "_p () const;";
340340
os << type << " const& " << id (name) << " () const;";
341341
os << type << "& " << id (name) << " ();";
342-
os << "void " << id (name) << " (" << type << " const& );";
342+
os << "void " << id (name) << " (" << type << " const&);";
343343

344344
//Added for IDREF case
345345
if ((idref_ptr != std::string::npos) && (this->cppmode_ == CPPMODE::CPP03))
@@ -368,7 +368,7 @@ namespace
368368
{
369369
os << type << " const& " << id (name) << " () const;";
370370
os << type << "& " << id (name) << " ();";
371-
os << "void " << id (name) << " (" << type << " const& );";
371+
os << "void " << id (name) << " (" << type << " const&);";
372372

373373
//Added for IDREF case
374374
if ((idref_ptr != std::string::npos) && (this->cppmode_ == CPPMODE::CPP03))

0 commit comments

Comments
 (0)