Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/label.cc')
-rw-r--r--src/core/label.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/label.cc b/src/core/label.cc
index d3a7b99..d7dabc2 100644
--- a/src/core/label.cc
+++ b/src/core/label.cc
@@ -12,6 +12,17 @@ Label::Label()
{
}
+Label::Label(const char *label)
+{
+ if (label)
+ labelstr.assign(label);
+}
+
+Label::Label(const std::string & label)
+{
+ labelstr.assign(label);
+}
+
Label::~Label()
{
labelstr.clear();