diff options
author | Adam <Adam@anope.org> | 2013-09-08 04:00:00 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-09-08 04:00:00 -0400 |
commit | 29694ce3d2c57ebefa9b14b6816679bf44799921 (patch) | |
tree | 0b65daea53d168becd4c7c9bfef7bc7ad70a7549 /src/modules/m_spanningtree/commandbuilder.h | |
parent | d349f981fbe70fb11e3db4c486f59749ffe74c2b (diff) |
Fix compile warnings as seen on g++ 4.4.7
Diffstat (limited to 'src/modules/m_spanningtree/commandbuilder.h')
-rw-r--r-- | src/modules/m_spanningtree/commandbuilder.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/modules/m_spanningtree/commandbuilder.h b/src/modules/m_spanningtree/commandbuilder.h index 07f7c94d0..597b22751 100644 --- a/src/modules/m_spanningtree/commandbuilder.h +++ b/src/modules/m_spanningtree/commandbuilder.h @@ -49,15 +49,15 @@ class CmdBuilder push(cmd); } - CmdBuilder& push_raw(const std::string& str) + CmdBuilder& push_raw(const std::string& s) { - content.append(str); + content.append(s); return *this; } - CmdBuilder& push_raw(const char* str) + CmdBuilder& push_raw(const char* s) { - content.append(str); + content.append(s); return *this; } @@ -67,17 +67,17 @@ class CmdBuilder return *this; } - CmdBuilder& push(const std::string& str) + CmdBuilder& push(const std::string& s) { content.push_back(' '); - content.append(str); + content.append(s); return *this; } - CmdBuilder& push(const char* str) + CmdBuilder& push(const char* s) { content.push_back(' '); - content.append(str); + content.append(s); return *this; } @@ -96,11 +96,11 @@ class CmdBuilder return *this; } - CmdBuilder& push_last(const std::string& str) + CmdBuilder& push_last(const std::string& s) { content.push_back(' '); content.push_back(':'); - content.append(str); + content.append(s); return *this; } @@ -112,7 +112,7 @@ class CmdBuilder return *this; } - void push_back(const std::string& str) { push(str); } + void push_back(const std::string& s) { push(s); } const std::string& str() const { return content; } operator const std::string&() const { return str(); } |