1
0
mirror of https://github.com/momo5502/hypervisor.git synced 2025-07-05 18:51:53 +00:00

More cleanup and hypervisor progress

This commit is contained in:
momo5502
2022-03-27 10:48:24 +02:00
parent 6ce3597bd3
commit 8fcaaf5cbf
22 changed files with 324 additions and 60 deletions

View File

@ -1,5 +1,4 @@
#pragma once
#include "type_traits.hpp"
namespace std
{
@ -19,7 +18,6 @@ namespace std
runtime_error(const char* message)
: message_(message)
{
}
runtime_error(const runtime_error& obj) noexcept = default;
@ -27,11 +25,12 @@ namespace std
runtime_error(runtime_error&& obj) noexcept = default;
runtime_error& operator=(runtime_error&& obj) noexcept = default;
const char* what() const noexcept override
{
return message_;
}
private:
const char* message_{};
};