summaryrefslogtreecommitdiff
path: root/src/include/tome/squelch/automatizer.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/automatizer.hpp
parenta031f2e1b6a8742c44db8cac59d3d8f71f80eea4 (diff)
Change Rule::{get_set,}name methods to use std::string
Diffstat (limited to 'src/include/tome/squelch/automatizer.hpp')
-rw-r--r--src/include/tome/squelch/automatizer.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/include/tome/squelch/automatizer.hpp b/src/include/tome/squelch/automatizer.hpp
index 4361941a..833b5648 100644
--- a/src/include/tome/squelch/automatizer.hpp
+++ b/src/include/tome/squelch/automatizer.hpp
@@ -114,10 +114,9 @@ public:
void add_new_condition(std::function<std::shared_ptr<Condition> ()> factory);
/**
- * Get rule names. The names are not stable across multiple
- * calls to methods on this class.
+ * Get rule names.
*/
- void get_rule_names(std::vector<const char *> *names) const;
+ std::vector<std::string> get_rule_names() const;
/**
* Get current number of rules.