summaryrefslogtreecommitdiffstats
path: root/src/uscxml/URL.h
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2014-06-25 21:10:02 (GMT)
committerStefan Radomski <github@mintwerk.de>2014-06-25 21:10:02 (GMT)
commit2aa123316bc7eda6b7dee0032eae4e915f569bd3 (patch)
treebe3d06f550286e23eeb3252277c1a2b7d12554ef /src/uscxml/URL.h
parentc39140178fa54cd47ee17ae1505c9dde0a1aeaab (diff)
parente3767be4f9c5874d9c996200f2e9705ce31a5976 (diff)
downloaduscxml-2aa123316bc7eda6b7dee0032eae4e915f569bd3.zip
uscxml-2aa123316bc7eda6b7dee0032eae4e915f569bd3.tar.gz
uscxml-2aa123316bc7eda6b7dee0032eae4e915f569bd3.tar.bz2
Merge pull request #42 from sradomski/master
Work on bindings
Diffstat (limited to 'src/uscxml/URL.h')
-rw-r--r--src/uscxml/URL.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/uscxml/URL.h b/src/uscxml/URL.h
index 5f55454..fd89503 100644
--- a/src/uscxml/URL.h
+++ b/src/uscxml/URL.h
@@ -261,7 +261,9 @@ public:
return _impl->pathComponents();
}
const std::string asString() const {
- return _impl->asString();
+ if (_impl)
+ return _impl->asString();
+ return "";
}
static std::string tmpDir();