summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2004-08-19 03:57:56 +0000
committerMichi Henning <michi@zeroc.com>2004-08-19 03:57:56 +0000
commit545b47b131f0cc887dd2623861f2ea64d84b638e (patch)
treeda25437768a41f601591562c7b6aac895b89cb8f /cpp/src
parent*** empty log message *** (diff)
downloadice-545b47b131f0cc887dd2623861f2ea64d84b638e.tar.bz2
ice-545b47b131f0cc887dd2623861f2ea64d84b638e.tar.xz
ice-545b47b131f0cc887dd2623861f2ea64d84b638e.zip
An empty Slice module now generates a (single) corresponding empty C++
namespace.
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/slice2cpp/Gen.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp
index 970b71fab51..24f07363326 100644
--- a/cpp/src/slice2cpp/Gen.cpp
+++ b/cpp/src/slice2cpp/Gen.cpp
@@ -328,11 +328,6 @@ Slice::Gen::TypesVisitor::TypesVisitor(Output& h, Output& c, const string& dllEx
bool
Slice::Gen::TypesVisitor::visitModuleStart(const ModulePtr& p)
{
- if(!p->hasOtherConstructedOrExceptions())
- {
- return false;
- }
-
string name = fixKwd(p->name());
H << sp << nl << "namespace " << name << nl << '{';