aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform/Exception.h
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-09-10 01:30:59 +0800
committerYuqian Yang <crupest@crupest.life>2025-09-10 01:30:59 +0800
commitfe6e1686ce484cb0dd9a69f130e82f647c30016f (patch)
treef5e020e6a46d9a36a7952d1785cf20467e413159 /include/cru/platform/Exception.h
parent18e330f9f4a673da78e6503c697619ad99b4bdbf (diff)
downloadcru-fe6e1686ce484cb0dd9a69f130e82f647c30016f.tar.gz
cru-fe6e1686ce484cb0dd9a69f130e82f647c30016f.tar.bz2
cru-fe6e1686ce484cb0dd9a69f130e82f647c30016f.zip
xcb window reparent.
Diffstat (limited to 'include/cru/platform/Exception.h')
-rw-r--r--include/cru/platform/Exception.h2
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,