From f683ef370bcb987a9f96fc5da0793d71e3721d29 Mon Sep 17 00:00:00 2001 From: Marc Laukien Date: Sun, 22 Sep 2002 15:44:10 +0000 Subject: thread fixes --- cpp/src/slice2cpp/Gen.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cpp/src/slice2cpp/Gen.cpp') diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index 2141aaa1ee2..fd88540dbad 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -356,8 +356,7 @@ Slice::Gen::TypesVisitor::visitExceptionStart(const ExceptionPtr& p) H << nl << _dllExport << "virtual ::std::string ice_name() const;"; C << sp << nl << "::std::string" << nl << scoped.substr(2) << "::ice_name() const"; C << sb; - C << nl << "static const ::std::string name(\"" << p->scoped().substr(2) << "\");"; - C << nl << "return name;"; + C << nl << "return \"" << p->scoped().substr(2) << "\";"; C << eb; if(p->isLocal()) -- cgit v1.2.3