diff --git a/include/sp/common/DataBuffer.h b/include/sp/common/DataBuffer.h index c387eb9..d9cf312 100644 --- a/include/sp/common/DataBuffer.h +++ b/include/sp/common/DataBuffer.h @@ -166,7 +166,7 @@ class DataBuffer { K newKey; V newValue; *this >> newKey >> newValue; - data.insert({newKey, newValue}); + data.emplace(newKey, newValue); } return *this; }