diff --git a/src/ozw/ozw.hpp b/src/ozw/ozw.hpp index e8ad57bf..78d9188b 100644 --- a/src/ozw/ozw.hpp +++ b/src/ozw/ozw.hpp @@ -576,8 +576,8 @@ namespace upm { private: // prevent copying and assignment - OZW(OZW const &) {}; - OZW& operator=(OZW const&) {}; + OZW(OZW const &) = delete; + OZW& operator=(OZW const&) = delete; // our class instance static OZW* m_instance; diff --git a/src/ozw/zwNode.cxx b/src/ozw/zwNode.cxx index 2ce1208a..0959eded 100644 --- a/src/ozw/zwNode.cxx +++ b/src/ozw/zwNode.cxx @@ -24,6 +24,8 @@ #include #include +#include + #include "zwNode.hpp" #include "Node.h" @@ -185,7 +187,7 @@ void zwNode::dumpNode(bool all) valueUnits.c_str(), perms.c_str()); - fprintf(stderr, "\t\t VID: %016x\n", + fprintf(stderr, "\t\t VID: %016" PRIx64 "\n", vid.GetId()); } }