Adds HAL_Initialize to ErrorBase constructor, and makes HAL_Initialize properly reentrant (#668)

Partial fix to #663, and most likely the best we are going to be able to
get.
This commit is contained in:
Thad House
2017-10-16 20:00:32 -07:00
committed by Peter Johnson
parent ee20747255
commit 434d60592c
4 changed files with 26 additions and 1 deletions

View File

@@ -74,7 +74,7 @@ namespace frc {
class ErrorBase {
// TODO: Consider initializing instance variables and cleanup in destructor
public:
ErrorBase() = default;
ErrorBase();
virtual ~ErrorBase() = default;
ErrorBase(const ErrorBase&) = delete;