Fix position of "inline" in "inline namespace" (MacOS G__MathCore failure).

This commit is contained in:
Axel Naumann 2014-09-18 23:43:48 +02:00 committed by sftnight
parent 82c69767d9
commit f630fd58ed

View File

@ -684,9 +684,9 @@ namespace cling {
haveAnyDecl = true;
}
if (haveAnyDecl) {
std::string output = stream.take(true);
if (D->isInline())
Out() << "inline ";
std::string output = stream.take(true);
Out() << "namespace " << *D << " {\n" << output << "}\n";
}
}