summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/log/Selector.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/log/Selector.h')
-rw-r--r--cpp/src/qpid/log/Selector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/log/Selector.h b/cpp/src/qpid/log/Selector.h
index 89989ebf92..705abfeb5d 100644
--- a/cpp/src/qpid/log/Selector.h
+++ b/cpp/src/qpid/log/Selector.h
@@ -57,7 +57,7 @@ class Selector {
void enable(const std::string& enableStr);
/** True if level is enabled for file. */
- bool isEnabled(Level level, const std::string& function);
+ bool isEnabled(Level level, const char* function);
private:
std::vector<std::string> substrings[LevelTraits::COUNT];