summaryrefslogtreecommitdiffstats
path: root/src/uscxml/URL.mm
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-09-02 21:38:10 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-09-02 21:38:10 (GMT)
commit7938e286967597c7168b855b7e3fdfbd9b949e0e (patch)
treebc5d9bfb80a07ec80b36dc025b3fac9f3ca03ec4 /src/uscxml/URL.mm
parenta874a181add7b292e52140f8c753f663a4cb5a87 (diff)
downloaduscxml-7938e286967597c7168b855b7e3fdfbd9b949e0e.zip
uscxml-7938e286967597c7168b855b7e3fdfbd9b949e0e.tar.gz
uscxml-7938e286967597c7168b855b7e3fdfbd9b949e0e.tar.bz2
New file element for executable content
Diffstat (limited to 'src/uscxml/URL.mm')
-rw-r--r--src/uscxml/URL.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uscxml/URL.mm b/src/uscxml/URL.mm
index 46975a0..3344601 100644
--- a/src/uscxml/URL.mm
+++ b/src/uscxml/URL.mm
@@ -16,7 +16,7 @@ std::string URL::getResourceDir() {
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
#endif
NSString *resourcePath = [[NSBundle mainBundle] resourcePath];
- return [resourcePath cStringUsingEncoding:NSUTF8StringEncoding];
+ return std::string([resourcePath cStringUsingEncoding:NSUTF8StringEncoding]);
#if HAS_AUTORELEASE_POOL
}