diff options
author | Jose <jose@zeroc.com> | 2012-04-09 17:09:41 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2012-04-09 17:09:41 +0200 |
commit | 20c4168927a6d8ef1385ac66359144e04ef73082 (patch) | |
tree | f4122178e2f547568e16d0d9753eccdc2e0d58b0 /cpp/src/slice2cpp/Gen.cpp | |
parent | ICE-4783 - C++ Glacier2/router failure (diff) | |
download | ice-20c4168927a6d8ef1385ac66359144e04ef73082.tar.bz2 ice-20c4168927a6d8ef1385ac66359144e04ef73082.tar.xz ice-20c4168927a6d8ef1385ac66359144e04ef73082.zip |
ICE-4806 - name hiding warnings
Diffstat (limited to 'cpp/src/slice2cpp/Gen.cpp')
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index 1ad57199f21..efcb66e0d56 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -6544,6 +6544,8 @@ Slice::Gen::AsyncImplVisitor::visitOperation(const OperationPtr& p) H << nl << "virtual void ice_response(" << params << ");"; if(!throws.empty()) { + H << nl << "// COMPILERFIX: The using directive avoid compiler warnings with -Woverloaded-virtual"; + H << nl << "using ::IceInternal::IncomingAsync::ice_exception;"; H << nl << "virtual void ice_exception(const ::std::exception&);"; H.zeroIndent(); |