diff options
author | John Hodge <tpg@mutabah.net> | 2017-08-21 22:32:48 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2017-08-21 22:32:48 +0800 |
commit | 8ca7753af27a431c9b2f8bec98b5cecc83fa452d (patch) | |
tree | 44dd706522882e91540d06b9ce226b9836513075 /tools/minicargo/path.h | |
parent | af317dcd9059ee78e4c8f36d9c67eb38fdf07709 (diff) | |
download | mrust-8ca7753af27a431c9b2f8bec98b5cecc83fa452d.tar.gz |
minicargo - Rough support for build scripts (override file only)
Diffstat (limited to 'tools/minicargo/path.h')
-rw-r--r-- | tools/minicargo/path.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/minicargo/path.h b/tools/minicargo/path.h index 73a520a9..54cb8f40 100644 --- a/tools/minicargo/path.h +++ b/tools/minicargo/path.h @@ -1,6 +1,7 @@ #pragma once #include <string> +#include <stdexcept> #include "helpers.h" namespace helpers { @@ -81,6 +82,10 @@ public: } } + const ::std::string& str() const + { + return m_str; + } operator ::std::string() const { return m_str; @@ -123,4 +128,4 @@ public: } }; -}
\ No newline at end of file +} |