ozw: fix up some issues reported by static analysis

Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
Jon Trulson 2016-07-07 17:43:21 -06:00
parent 743730550c
commit e0ef6eea64
2 changed files with 5 additions and 3 deletions

View File

@ -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;

View File

@ -24,6 +24,8 @@
#include <stdint.h>
#include <string>
#include <cinttypes>
#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());
}
}