Commit 3afa1d40 authored by Douglas Serson's avatar Douglas Serson

Use default for Timer constructor

parent 9e57afb5
......@@ -40,16 +40,6 @@ namespace Nektar
namespace LibUtilities
{
Timer::Timer() :
m_start(),
m_end()
{
}
Timer::~Timer()
{
}
void Timer::Start()
{
m_start = Clock::now();
......
......@@ -55,10 +55,10 @@ class Timer
using Seconds = std::chrono::duration<NekDouble>;
public:
LIB_UTILITIES_EXPORT Timer();
LIB_UTILITIES_EXPORT ~Timer();
LIB_UTILITIES_EXPORT Timer() = default;
LIB_UTILITIES_EXPORT ~Timer() = default;
Timer(const Timer& rhs) = delete;
Timer(const Timer& rhs) = delete;
Timer& operator=(const Timer& rhs) = delete;
LIB_UTILITIES_EXPORT void Start();
......
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