mirror of
https://github.com/asmjit/asmjit.git
synced 2025-12-18 13:04:36 +03:00
Minor C++17 modernization
* Inspired by the one of the pull requests (#483) * Use std::make_unique to make a unique pointer (tests only) * Use override instead of virtual to override a virtual member function
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
namespace asmjit_perf_utils {
|
||||
|
||||
class TestErrorHandler : public asmjit::ErrorHandler {
|
||||
void handle_error(asmjit::Error err, const char* message, asmjit::BaseEmitter* origin) {
|
||||
void handle_error(asmjit::Error err, const char* message, asmjit::BaseEmitter* origin) override {
|
||||
(void)err;
|
||||
(void)origin;
|
||||
printf("ERROR: %s\n", message);
|
||||
|
||||
Reference in New Issue
Block a user