From 612629df8b915a0c87dbd6c29ad305aaedcbe0fd Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Wed, 11 Jun 2014 14:41:31 +0200 Subject: m_spanningtree Add CmdBuilder::push_raw_int() --- src/modules/m_spanningtree/commandbuilder.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/modules/m_spanningtree/commandbuilder.h') 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 + CmdBuilder& push_raw_int(T i) + { + content.append(ConvToStr(i)); + return *this; + } + CmdBuilder& push(const std::string& s) { content.push_back(' '); -- cgit v1.2.3