From c78794e27db5ca5b2c5ae08c6b70cb35fda24d93 Mon Sep 17 00:00:00 2001 From: elvez Date: Thu, 14 Sep 2006 12:52:32 +0000 Subject: [PATCH] - Small changes to compile under vc++ git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1147 3ecf2c5c-341e-0410-92b4-d18e462d057c --- src/backend/ready_queue.cc | 1 + src/backend/sgpemv2/user_interrupt_exception.hh | 1 - src/backend/user_interrupt_exception.cc | 4 ---- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/backend/ready_queue.cc b/src/backend/ready_queue.cc index 5bc6682..58c9630 100644 --- a/src/backend/ready_queue.cc +++ b/src/backend/ready_queue.cc @@ -24,6 +24,7 @@ #include using sgpem::ReadyQueue; +using sgpem::Thread; void ReadyQueue::swap(position a, position b) diff --git a/src/backend/sgpemv2/user_interrupt_exception.hh b/src/backend/sgpemv2/user_interrupt_exception.hh index 7d15a8d..a0f2007 100644 --- a/src/backend/sgpemv2/user_interrupt_exception.hh +++ b/src/backend/sgpemv2/user_interrupt_exception.hh @@ -37,7 +37,6 @@ namespace sgpem class SG_DLLEXPORT UserInterruptException : public CPUPolicyException { public: - explicit UserInterruptException(const char* msg = ""); explicit UserInterruptException(const std::string& msg = ""); }; } //~ namespace sgpem diff --git a/src/backend/user_interrupt_exception.cc b/src/backend/user_interrupt_exception.cc index 4b526c3..8a28bf1 100644 --- a/src/backend/user_interrupt_exception.cc +++ b/src/backend/user_interrupt_exception.cc @@ -25,10 +25,6 @@ #include using namespace sgpem; -UserInterruptException::UserInterruptException(const char* msg) - : CPUPolicyException(msg) -{} - UserInterruptException::UserInterruptException(const std::string& msg) : CPUPolicyException(msg) {}