From 6b44e8e23ecabcaf01f8dfdbdcfaa30d28f8f742 Mon Sep 17 00:00:00 2001 From: alemuntoni Date: Wed, 17 Nov 2021 16:57:23 +0100 Subject: [PATCH] removing using namespace std from header files --- wrap/gcache/cache.h | 2 +- wrap/gcache/controller.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wrap/gcache/cache.h b/wrap/gcache/cache.h index f790690e..713e7a41 100644 --- a/wrap/gcache/cache.h +++ b/wrap/gcache/cache.h @@ -212,7 +212,7 @@ protected: } else { //last item is locked need to reorder stack remove = this->heap.popMin(); this->heap.push(remove); - cout << "Reordering stack something (what?)\n"; + std::cout << "Reordering stack something (what?)\n"; return true; } } diff --git a/wrap/gcache/controller.h b/wrap/gcache/controller.h index 7c974887..ffe54903 100644 --- a/wrap/gcache/controller.h +++ b/wrap/gcache/controller.h @@ -140,7 +140,7 @@ class Controller { void resume() { assert(!stopped); assert(paused); - cout << "Resume" << endl; + std::cout << "Resume" << std::endl; //unlock and open all doors for(unsigned int i = 0; i < caches.size(); i++) {