diff options
author | Stefan Radomski <github@mintwerk.de> | 2014-06-25 21:10:02 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2014-06-25 21:10:02 (GMT) |
commit | 2aa123316bc7eda6b7dee0032eae4e915f569bd3 (patch) | |
tree | be3d06f550286e23eeb3252277c1a2b7d12554ef /src/uscxml/URL.h | |
parent | c39140178fa54cd47ee17ae1505c9dde0a1aeaab (diff) | |
parent | e3767be4f9c5874d9c996200f2e9705ce31a5976 (diff) | |
download | uscxml-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.h | 4 |
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(); |