[General] Fixed line endings
- converted all line endings in cpp/hpp files to dos
This commit is contained in:
@ -1,17 +1,17 @@
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Utils
|
||||
{
|
||||
namespace Utils
|
||||
{
|
||||
namespace Time
|
||||
{
|
||||
void Interval::update()
|
||||
{
|
||||
this->lastPoint = std::chrono::high_resolution_clock::now();
|
||||
}
|
||||
|
||||
bool Interval::elapsed(std::chrono::nanoseconds nsecs)
|
||||
{
|
||||
return ((std::chrono::high_resolution_clock::now() - this->lastPoint) >= nsecs);
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
void Interval::update()
|
||||
{
|
||||
this->lastPoint = std::chrono::high_resolution_clock::now();
|
||||
}
|
||||
|
||||
bool Interval::elapsed(std::chrono::nanoseconds nsecs)
|
||||
{
|
||||
return ((std::chrono::high_resolution_clock::now() - this->lastPoint) >= nsecs);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,17 +1,17 @@
|
||||
namespace Utils
|
||||
{
|
||||
namespace Utils
|
||||
{
|
||||
namespace Time
|
||||
{
|
||||
class Interval
|
||||
{
|
||||
private:
|
||||
std::chrono::high_resolution_clock::time_point lastPoint;
|
||||
|
||||
public:
|
||||
Interval() : lastPoint(std::chrono::high_resolution_clock::now()) {}
|
||||
|
||||
void update();
|
||||
bool elapsed(std::chrono::nanoseconds nsecs);
|
||||
};
|
||||
}
|
||||
}
|
||||
{
|
||||
class Interval
|
||||
{
|
||||
private:
|
||||
std::chrono::high_resolution_clock::time_point lastPoint;
|
||||
|
||||
public:
|
||||
Interval() : lastPoint(std::chrono::high_resolution_clock::now()) {}
|
||||
|
||||
void update();
|
||||
bool elapsed(std::chrono::nanoseconds nsecs);
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user