- Small changes to compile under vc++

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1147 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
elvez 2006-09-14 12:52:32 +00:00
parent 8c7b3a2e3d
commit c78794e27d
3 changed files with 1 additions and 5 deletions

View File

@ -24,6 +24,7 @@
#include <sgpemv2/ready_queue.hh> #include <sgpemv2/ready_queue.hh>
using sgpem::ReadyQueue; using sgpem::ReadyQueue;
using sgpem::Thread;
void void
ReadyQueue::swap(position a, position b) ReadyQueue::swap(position a, position b)

View File

@ -37,7 +37,6 @@ namespace sgpem
class SG_DLLEXPORT UserInterruptException : public CPUPolicyException class SG_DLLEXPORT UserInterruptException : public CPUPolicyException
{ {
public: public:
explicit UserInterruptException(const char* msg = "");
explicit UserInterruptException(const std::string& msg = ""); explicit UserInterruptException(const std::string& msg = "");
}; };
} //~ namespace sgpem } //~ namespace sgpem

View File

@ -25,10 +25,6 @@
#include <sgpemv2/user_interrupt_exception.hh> #include <sgpemv2/user_interrupt_exception.hh>
using namespace sgpem; using namespace sgpem;
UserInterruptException::UserInterruptException(const char* msg)
: CPUPolicyException(msg)
{}
UserInterruptException::UserInterruptException(const std::string& msg) UserInterruptException::UserInterruptException(const std::string& msg)
: CPUPolicyException(msg) : CPUPolicyException(msg)
{} {}