summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorljfa-ag <ljfa-ag@web.de>2015-07-14 13:56:35 +0200
committerljfa-ag <ljfa-ag@web.de>2015-07-14 13:56:35 +0200
commite56e6df99cd89b0aa6e0bf8fda723f39ede41806 (patch)
treeed2feeb0a9fd595f95524c96af2e8551680dfe31 /include
parentd2b7c2442da9363b13f884bd0c47fb757cb0f005 (diff)
downloadProject-Tick-e56e6df99cd89b0aa6e0bf8fda723f39ede41806.tar.gz
Project-Tick-e56e6df99cd89b0aa6e0bf8fda723f39ede41806.zip
Add C string constructor to tag_string
Diffstat (limited to 'include')
-rw-r--r--include/tag_string.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tag_string.h b/include/tag_string.h
index f4476993e3..846650e507 100644
--- a/include/tag_string.h
+++ b/include/tag_string.h
@@ -35,6 +35,7 @@ public:
tag_string(const std::string& str);
tag_string(std::string&& str = "");
+ tag_string(const char* str);
operator std::string&();
operator const std::string&() const;
@@ -42,6 +43,7 @@ public:
tag_string& operator=(const std::string& str);
tag_string& operator=(std::string&& str);
+ tag_string& operator=(const char* str);
void set(const std::string& str);
void set(std::string&& str);