diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-06-13 17:26:40 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-06-13 17:35:31 (GMT) |
commit | b7b5d7093be4591a44dbfbaaec6aa253d2f767ac (patch) | |
tree | 709a5506a7f9b3d2467da4f89b53cb02874a319a /Swiftob | |
parent | 32ad273cf4fdc4cd0df9c8982824b62c02a3c61a (diff) | |
download | swift-b7b5d7093be4591a44dbfbaaec6aa253d2f767ac.zip swift-b7b5d7093be4591a44dbfbaaec6aa253d2f767ac.tar.bz2 |
Some more Cppcheck tweaks.
Diffstat (limited to 'Swiftob')
-rw-r--r-- | Swiftob/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiftob/main.cpp b/Swiftob/main.cpp index 9908b45..a4e0925 100644 --- a/Swiftob/main.cpp +++ b/Swiftob/main.cpp @@ -17,7 +17,7 @@ int main(int argc, char* argv[]) { boost::program_options::variables_map vm; try { boost::program_options::store(boost::program_options::parse_command_line(argc, argv, desc), vm); - } catch (boost::program_options::unknown_option option) { + } catch (const boost::program_options::unknown_option& option) { #if BOOST_VERSION >= 104200 std::cout << "Ignoring unknown option " << option.get_option_name() << " but continuing." << std::endl; #else |