src/osx/helper.mm in rays-0.1.47 vs src/osx/helper.mm in rays-0.1.48
- old
+ new
@@ -11,15 +11,15 @@
{
if (ref) CFRelease(ref);
}
- CFString
+ CFStringPtr
cfstring (const char* str)
{
CFStringRef ref = CFStringCreateWithCString(
kCFAllocatorDefault, str, kCFStringEncodingUTF8);
- return CFString(ref, safe_cfrelease);
+ return CFStringPtr(ref, safe_cfrelease);
}
}// Rays