diff options
Diffstat (limited to 'include/cru/platform/Exception.h')
-rw-r--r-- | include/cru/platform/Exception.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cru/platform/Exception.h b/include/cru/platform/Exception.h index 25017869..f8ed5b0c 100644 --- a/include/cru/platform/Exception.h +++ b/include/cru/platform/Exception.h @@ -14,7 +14,7 @@ class CRU_PLATFORM_API PlatformNotMatchException : public PlatformException { public: PlatformNotMatchException( std::string resource_platform, std::string target_platform, - std::optional<std::string> additional_message = std::nullopt); + std::optional<std::string_view> additional_message = std::nullopt); PlatformNotMatchException( StringView resource_platform, StringView target_platform, |