diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-06-11 14:41:31 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-06-11 14:41:31 +0200 |
commit | 612629df8b915a0c87dbd6c29ad305aaedcbe0fd (patch) | |
tree | 976e8ff41e9eef395cbbd7c83f6bc71d4913d8ee /src/modules/m_spanningtree/commandbuilder.h | |
parent | 3515d58c0369e7aac7fb40d0d298c98f90139e54 (diff) |
m_spanningtree Add CmdBuilder::push_raw_int()
Diffstat (limited to 'src/modules/m_spanningtree/commandbuilder.h')
-rw-r--r-- | src/modules/m_spanningtree/commandbuilder.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/commandbuilder.h b/src/modules/m_spanningtree/commandbuilder.h index cd627227a..c2b438deb 100644 --- a/src/modules/m_spanningtree/commandbuilder.h +++ b/src/modules/m_spanningtree/commandbuilder.h @@ -68,6 +68,13 @@ class CmdBuilder return *this; } + template <typename T> + CmdBuilder& push_raw_int(T i) + { + content.append(ConvToStr(i)); + return *this; + } + CmdBuilder& push(const std::string& s) { content.push_back(' '); |