summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2014-06-12 22:00:16 +0000
committerAndrew Stitcher <astitcher@apache.org>2014-06-12 22:00:16 +0000
commitc2a3998ba9167847c27974727db8e756b5c7d8ee (patch)
tree98bb6af4cc7a3d214f640742afde4c78777cad3d /qpid/cpp/src
parent0b8d15c6d6818297862bff3ac548d38a938d4002 (diff)
downloadqpid-python-c2a3998ba9167847c27974727db8e756b5c7d8ee.tar.gz
NO-JIRA: We never want to accidentally convert a string to an Options object
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1602304 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r--qpid/cpp/src/qpid/Options.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/Options.h b/qpid/cpp/src/qpid/Options.h
index d05e7faa2e..e5b386912d 100644
--- a/qpid/cpp/src/qpid/Options.h
+++ b/qpid/cpp/src/qpid/Options.h
@@ -153,7 +153,7 @@ struct Options {
Exception(const std::string& msg) : qpid::Exception(msg) {}
};
- QPID_COMMON_EXTERN Options(const std::string& name=std::string());
+ QPID_COMMON_EXTERN explicit Options(const std::string& name=std::string());
/**
* Parses options from argc/argv, environment variables and config file.