aboutsummaryrefslogtreecommitdiff
path: root/include/cru/base/Osx.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/base/Osx.h')
-rw-r--r--include/cru/base/Osx.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/cru/base/Osx.h b/include/cru/base/Osx.h
index fbdffc54..e42a4fe5 100644
--- a/include/cru/base/Osx.h
+++ b/include/cru/base/Osx.h
@@ -7,9 +7,10 @@
#endif
#include "Range.h"
-#include "String.h"
#include <CoreFoundation/CoreFoundation.h>
+#include <string>
+#include <string_view>
namespace cru {
template <typename CFClassRef>
@@ -29,8 +30,8 @@ class CFWrapper {
}
};
-CFWrapper<CFStringRef> ToCFString(StringView string);
-String FromCFStringRef(CFStringRef string);
+CFWrapper<CFStringRef> ToCFString(std::string_view string);
+std::string FromCFStringRef(CFStringRef string);
CFRange ToCFRange(const Range& range);
Range FromCFRange(const CFRange& range);