Commit 1b2fd632 authored by Jan Möbius's avatar Jan Möbius

Fixed warning by splitting out win32 specific stuff from timer.cc

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@499 fdac6126-5c0c-442c-9429-916003d36597
parent bd14f87e
......@@ -63,19 +63,7 @@ namespace Utils {
using namespace std;
// -------------------------------------------------------------- TimerImpl ----
// just a base class for the implementation
class TimerImpl
{
protected:
public:
TimerImpl() { ; }
virtual ~TimerImpl() { ; }
virtual void reset(void) = 0;
virtual void start(void) = 0;
virtual void stop(void) = 0;
virtual void cont(void) = 0;
virtual double seconds(void) const = 0;
};
// compiler and os dependent implementation
......
......@@ -70,7 +70,20 @@ namespace Utils {
// -------------------------------------------------------------- forwards ----
class TimerImpl;
// just a base class for the implementation
class TimerImpl
{
protected:
public:
TimerImpl() { ; }
virtual ~TimerImpl() { ; }
virtual void reset(void) = 0;
virtual void start(void) = 0;
virtual void stop(void) = 0;
virtual void cont(void) = 0;
virtual double seconds(void) const = 0;
};
// ----------------------------------------------------------------- class ----
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment