Skip to content

Commit 0e427e6

Browse files
authored
Merge pull request #72 from jwillemsen/jwi-fixwrninga
Fix hides warnings
2 parents 47a7350 + 2b341a9 commit 0e427e6

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

XSC/be/CXX/Generator.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,13 +148,12 @@ generate (po::variables_map const& vm, Schema& schema, fs::path const& file_path
148148
std::string ixx_expr (vm["cxx-inline-regex"].as<std::string> ());
149149
std::string cxx_expr (vm["cxx-source-regex"].as<std::string> ());
150150

151-
152-
//Output file names are named <name>.<suffix>
151+
// Output file names are named <name>.<suffix>
153152
std::string hxx_name (regex::perl_s (name, hxx_expr) + hxx_suffix);
154153
std::string ixx_name (regex::perl_s (name, ixx_expr) + ixx_suffix);
155154
std::string cxx_name (regex::perl_s (name, cxx_expr) + cxx_suffix);
156155

157-
//File handlers are created for each file name
156+
// File handlers are created for each file name
158157
fs::path hxx_path (hxx_name);
159158
fs::path ixx_path (ixx_name);
160159
fs::path cxx_path (cxx_name);

XSC/be/CXX/Header.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -936,7 +936,7 @@ generate_header (Context& ctx,
936936

937937
if (ctx.cpp11())
938938
{
939-
ctx.os << "#include \"tao/x11/stddef.h\"" << endl;
939+
ctx.os << "#include \"tao/x11/base/stddef.h\"" << endl;
940940
}
941941

942942
Traversal::Schema traverser;

XSC/be/CXX/Source.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1145,8 +1145,8 @@ namespace
11451145
<< endl;
11461146

11471147
os << scope << "::" << endl
1148-
<< name << " (" << xml_element_type << " const& e)" << endl
1149-
<< ":" << "Base (e)"
1148+
<< name << " (" << xml_element_type << " const& element)" << endl
1149+
<< ":" << "Base (element)"
11501150
<< "{"
11511151
<< endl;
11521152
}
@@ -1161,7 +1161,7 @@ namespace
11611161

11621162
if (he || ha)
11631163
{
1164-
os << parser_type << " p (e);"
1164+
os << parser_type << " p (element);"
11651165
<< endl;
11661166

11671167
if (he)

0 commit comments

Comments
 (0)