summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/InstrumentationI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/InstrumentationI.cpp')
-rw-r--r--cpp/src/Ice/InstrumentationI.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/cpp/src/Ice/InstrumentationI.cpp b/cpp/src/Ice/InstrumentationI.cpp
index 86897e44943..b590686df45 100644
--- a/cpp/src/Ice/InstrumentationI.cpp
+++ b/cpp/src/Ice/InstrumentationI.cpp
@@ -25,8 +25,6 @@ using namespace IceMX;
namespace
{
-Context emptyCtx;
-
int ThreadMetrics::*
getThreadStateMetric(ThreadState s)
{
@@ -354,7 +352,7 @@ public:
};
static Attributes attributes;
- InvocationHelper(const ObjectPrx& proxy, const string& op, const Context& ctx = emptyCtx) :
+ InvocationHelper(const ObjectPrx& proxy, const string& op, const Context& ctx) :
_proxy(proxy), _operation(op), _context(ctx)
{
}