renamed template method from "append" to "emplace"

to be in line with the std library naming scheme
This commit is contained in:
fourtf
2018-01-22 14:39:24 +01:00
parent 0febffc6d8
commit 135f9910f8
2 changed files with 38 additions and 38 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ public:
// typename std::enable_if<std::is_base_of<MessageElement, T>::value, T>::type
template <class T, class... Args>
T *append(Args &&... args)
T *emplace(Args &&... args)
{
static_assert(std::is_base_of<MessageElement, T>::value, "T must extend MessageElement");