diff options
Diffstat (limited to 'qpid/cpp/include')
| -rw-r--r-- | qpid/cpp/include/qpid/Options.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qpid/cpp/include/qpid/Options.h b/qpid/cpp/include/qpid/Options.h index 993e024f3d..6c908518b8 100644 --- a/qpid/cpp/include/qpid/Options.h +++ b/qpid/cpp/include/qpid/Options.h @@ -98,6 +98,10 @@ inline po::value_semantic* optValue(bool& value) { #endif } +inline po::value_semantic* pure_switch(bool& value) { + return po::bool_switch(&value); +} + /** * Base class for options. * Example of use: |
