From 545b47b131f0cc887dd2623861f2ea64d84b638e Mon Sep 17 00:00:00 2001 From: Michi Henning Date: Thu, 19 Aug 2004 03:57:56 +0000 Subject: An empty Slice module now generates a (single) corresponding empty C++ namespace. --- cpp/src/slice2cpp/Gen.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'cpp/src/slice2cpp/Gen.cpp') 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 << '{'; -- cgit v1.2.3