summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/ConnectionAsync.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/Ice/ConnectionAsync.h')
-rw-r--r--cpp/include/Ice/ConnectionAsync.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/include/Ice/ConnectionAsync.h b/cpp/include/Ice/ConnectionAsync.h
index b54222bb77f..cd1588191f7 100644
--- a/cpp/include/Ice/ConnectionAsync.h
+++ b/cpp/include/Ice/ConnectionAsync.h
@@ -16,6 +16,7 @@
namespace Ice
{
+#ifndef ICE_CPP11_MAPPING
template<class T>
class CallbackNC_Connection_flushBatchRequests : public Callback_Connection_flushBatchRequests_Base,
public ::IceInternal::OnewayCallbackNC<T>
@@ -109,6 +110,7 @@ newCallback_Connection_flushBatchRequests(T* instance, void (T::*excb)(const ::I
{
return new Callback_Connection_flushBatchRequests<T, CT>(instance, excb, sentcb);
}
+#endif
}