A load more C++11 tweaks - mostly moving initialisations from constructors to inline
This commit is contained in:
1 parent
cc8206f4c3
commit
e749724a11
23 files changed
+64
-145
No files matched your search
@@ -13,14 +13,13 @@
|
||||
namespace Catch {
|
||||
class Timer {
|
||||
public:
|
||||
Timer() : m_microSeconds( 0 ) {}
|
||||
void start();
|
||||
unsigned int getElapsedMicroseconds() const;
|
||||
unsigned int getElapsedMilliseconds() const;
|
||||
double getElapsedSeconds() const;
|
||||
|
||||
private:
|
||||
uint64_t m_microSeconds;
|
||||
uint64_t m_microSeconds = 0;
|
||||
};
|
||||
|
||||
} // namespace Catch
|
||||
|
||||
Reference in new issue
Block a user