]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/contract/test/public_function/protected.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / contract / test / public_function / protected.cpp
index d692608caf05f05ba1e5d709ce0ef0d31fc23377..8ec7e7d7973c773e1618659cda31486f75162132 100644 (file)
@@ -25,7 +25,7 @@ protected:
     // protected and overriding public functions: Both must use virtual_
     // (otherwise C++ won't override because mismatching parameters), but
     // overridden protected does not use public_function.
-    virtual void f(boost::contract::virtual_* v = 0) {
+    virtual void f(boost::contract::virtual_* /* v */ = 0) {
         boost::contract::check c = boost::contract::function()
             .precondition([] { out << "b::f::pre" << std::endl; })
             .old([] { out << "b::f::old" << std::endl; })