summaryrefslogtreecommitdiff
path: root/src/include/tome/squelch/rule.hpp
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2017-05-02 19:20:57 +0200
committerBardur Arantsson <bardur@scientician.net>2017-05-02 19:20:57 +0200
commit90a81c722fa22de210878f7cf708dcc13d2520b9 (patch)
treee065e12cc935433b3181ef02a9d9ebcfc248bba0 /src/include/tome/squelch/rule.hpp
parenta031f2e1b6a8742c44db8cac59d3d8f71f80eea4 (diff)
Change Rule::{get_set,}name methods to use std::string
Diffstat (limited to 'src/include/tome/squelch/rule.hpp')
-rw-r--r--src/include/tome/squelch/rule.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/tome/squelch/rule.hpp b/src/include/tome/squelch/rule.hpp
index 752a0c2e..af86dfc8 100644
--- a/src/include/tome/squelch/rule.hpp
+++ b/src/include/tome/squelch/rule.hpp
@@ -40,12 +40,12 @@ public:
/**
* Set the name of the rule
*/
- void set_name(const char *new_name);
+ void set_name(const std::string &new_name);
/**
* Get the name of the rule
*/
- const char *get_name() const;
+ std::string get_name() const;
/**
* Get condition