Clean up compiler warnings + Build pzstd on travis
This commit is contained in:
1 parent
5b8c024716
commit
1e2f6a1f5d
4 files changed
+6
-7
No files matched your search
@@ -9,6 +9,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <atomic>
|
||||
#include <cassert>
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
|
||||
@@ -47,9 +48,7 @@ class ErrorHolder {
|
||||
}
|
||||
|
||||
~ErrorHolder() {
|
||||
if (hasError()) {
|
||||
throw std::logic_error(message_);
|
||||
}
|
||||
assert(!hasError());
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user