mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-28 02:11:43 +00:00
artf4107: Uniform initialization syntax introduced
Change-Id: I452b4794d757a0817589ec62b75eda7fbdd74904
This commit is contained in:
@@ -51,7 +51,8 @@
|
||||
class ErrorBase {
|
||||
// TODO: Consider initializing instance variables and cleanup in destructor
|
||||
public:
|
||||
virtual ~ErrorBase();
|
||||
ErrorBase();
|
||||
virtual ~ErrorBase() = default;
|
||||
virtual Error& GetError();
|
||||
virtual const Error& GetError() const;
|
||||
virtual void SetErrnoError(const char* contextMessage, const char* filename,
|
||||
@@ -82,7 +83,6 @@ class ErrorBase {
|
||||
// TODO: Replace globalError with a global list of all errors.
|
||||
static MUTEX_ID _globalErrorMutex;
|
||||
static Error _globalError;
|
||||
ErrorBase();
|
||||
|
||||
private:
|
||||
DISALLOW_COPY_AND_ASSIGN(ErrorBase);
|
||||
|
||||
Reference in New Issue
Block a user