fixed return type
This commit is contained in:
parent
e55ff39192
commit
2950cd9069
|
@ -395,7 +395,7 @@ public:
|
|||
* Minor helper for creating a message root
|
||||
*/
|
||||
template <class Schema, class Container = MessageContainer<Schema>>
|
||||
inline HeapMessageRoot heapMessageRoot() {
|
||||
inline HeapMessageRoot<Schema, Container> heapMessageRoot() {
|
||||
Own<Message<Schema, Container>> root = heap<Message<Schema, Container>>();
|
||||
return HeapMessageRoot<Schema, Container>{std::move(root)};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue