Skip to content

Commit

Permalink
Change unsigned long to const void* in RefCounter.cpp.
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliopaci committed Sep 4, 2017
1 parent ba4a2d8 commit 14fe659
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/RefCounter.cpp
Expand Up @@ -45,7 +45,7 @@ _RefCounter RefCounter;
_RefCounter::~_RefCounter() {
if (!_map.empty()) {
Logger::Error(1, "-- RefCounter----------\n");
unordered_map<unsigned long, int>::const_iterator it;
unordered_map<const void*, int>::const_iterator it;
for (it = _map.begin(); it != _map.end(); ++it)
Logger::Error(1, "map[%p] = %i\n", (void *)it->first, it->second);
Logger::Error(1, "-----------------------\n\n");
Expand Down

0 comments on commit 14fe659

Please sign in to comment.