From 9f419314b646bf57dfc3fcbb509b3be2c974e3fd Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Fri, 17 Oct 2025 14:33:16 +0800 Subject: Remove String on Linux. --- include/cru/ui/ThemeResourceDictionary.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'include/cru/ui/ThemeResourceDictionary.h') diff --git a/include/cru/ui/ThemeResourceDictionary.h b/include/cru/ui/ThemeResourceDictionary.h index 90cbe520..e7463b12 100644 --- a/include/cru/ui/ThemeResourceDictionary.h +++ b/include/cru/ui/ThemeResourceDictionary.h @@ -28,11 +28,7 @@ class CRU_UI_API ThemeResourceDictionary : public Object { public: static std::unique_ptr FromFile( - const String& file_path); - static std::unique_ptr FromFile( - std::filesystem::path file_path) { - return FromFile(String::FromStdPath(file_path)); - } + std::filesystem::path file_path); explicit ThemeResourceDictionary(xml::XmlElementNode* xml_root, bool clone = true); -- cgit v1.2.3