commit | f2b36c2ed2d477607851ddca6c0b136791031669 | [log] [tgz] |
---|---|---|
author | Dean Moldovan <dean0x7d@gmail.com> | Wed Jun 01 23:03:10 2016 +0200 |
committer | Dean Moldovan <dean0x7d@gmail.com> | Wed Jun 01 23:48:23 2016 +0200 |
tree | 7bb6e7b11824cc186a0c63be465b04c810226fbe | |
parent | 38d8b8cfe263e956d64c09f8a35c556467b8d722 [diff] [blame] |
Fix a couple of warnings - Conversion warning on clang: 'long' to 'size_t' - Unused variable warning on MSVC
diff --git a/example/issues.cpp b/example/issues.cpp index dfe20ff..d75da1c 100644 --- a/example/issues.cpp +++ b/example/issues.cpp
@@ -135,7 +135,7 @@ try { py::class_<Placeholder>(m2, "Placeholder"); throw std::logic_error("Expected an exception!"); - } catch (std::runtime_error &e) { + } catch (std::runtime_error &) { /* All good */ } }