Commit 94c10873 authored by Dominik Charousset's avatar Dominik Charousset

reformatting

parent 63407ab1
...@@ -99,8 +99,7 @@ class group : public channel { ...@@ -99,8 +99,7 @@ class group : public channel {
protected: protected:
module(std::string&& module_name); module(std::string module_name);
module(const std::string& module_name);
public: public:
......
...@@ -71,11 +71,7 @@ bool group::unsubscriber::matches(const attachable::token& what) { ...@@ -71,11 +71,7 @@ bool group::unsubscriber::matches(const attachable::token& what) {
return false; return false;
} }
group::module::module(const std::string& name) : m_name(name) { group::module::module(std::string name) : m_name(std::move(name)) { }
}
group::module::module(std::string&& name) : m_name(std::move(name)) {
}
const std::string& group::module::name() { const std::string& group::module::name() {
return m_name; return m_name;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment