Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / contract / example / features / throw_on_failure.cpp
index d2e7390..4cff315 100644 (file)
@@ -101,7 +101,7 @@ int main() {
         }
     ))));
     boost::contract::set_except_failure(
-        [] (boost::contract::from where) {
+        [] (boost::contract::from) {
             // Already an active exception so shall not throw another...
             std::clog << "ignored exception guarantee failure" << std::endl;
         }