diff options
| author | bunnei <bunneidev@gmail.com> | 2018-08-15 18:25:57 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-15 18:25:57 -0400 |
| commit | 69236e5affdb8603b5e61fae2c0acb5853129956 (patch) | |
| tree | 334d2ea7d8997163640af2d0d2e25c841597241a /src/core/loader/loader.h | |
| parent | 1dd27aff476f4831aab571442b0cc882a8bb0b95 (diff) | |
| parent | 87d8a9c98626be491e87e4b9fad84b862d8aa0c9 (diff) | |
Merge pull request #1079 from lioncash/fmt
loader: Make ResultStatus directly compatible with fmt
Diffstat (limited to 'src/core/loader/loader.h')
| -rw-r--r-- | src/core/loader/loader.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h index 6dffe451a..b74cfbf8a 100644 --- a/src/core/loader/loader.h +++ b/src/core/loader/loader.h @@ -5,6 +5,7 @@ #pragma once #include <algorithm> +#include <iosfwd> #include <memory> #include <string> #include <utility> @@ -94,8 +95,7 @@ enum class ResultStatus : u16 { ErrorNoControl, }; -std::string GetMessageForResultStatus(ResultStatus status); -std::string GetMessageForResultStatus(u16 status); +std::ostream& operator<<(std::ostream& os, ResultStatus status); /// Interface for loading an application class AppLoader : NonCopyable { |
