diff options
| author | Gordon Sim <gsim@apache.org> | 2006-10-30 19:27:54 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2006-10-30 19:27:54 +0000 |
| commit | b0a120b4edfdb49a08bd7c8c2479e7b1cadc5233 (patch) | |
| tree | d2b4ca0e774100285e116e5442bff9e55b4a3f92 /cpp/src/qpid/broker/Configuration.cpp | |
| parent | f491af49008a2ed219ad4507cd507b4317afa4cb (diff) | |
| download | qpid-python-b0a120b4edfdb49a08bd7c8c2479e7b1cadc5233.tar.gz | |
Initial implementation for tx class.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469242 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/Configuration.cpp')
| -rw-r--r-- | cpp/src/qpid/broker/Configuration.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/src/qpid/broker/Configuration.cpp b/cpp/src/qpid/broker/Configuration.cpp index 7aefe19b2b..2dcefd878d 100644 --- a/cpp/src/qpid/broker/Configuration.cpp +++ b/cpp/src/qpid/broker/Configuration.cpp @@ -191,6 +191,8 @@ bool Configuration::BoolOption::needsValue() const { return false; } -void Configuration::BoolOption::setValue(const std::string& _value){ - value = strcasecmp(_value.c_str(), "true") == 0; +void Configuration::BoolOption::setValue(const std::string& /*not required*/){ + //BoolOptions have no value. The fact that the option is specified + //implies the value is true. + value = true; } |
