fixed return type

This commit is contained in:
Claudius Holeksa 2021-12-19 17:11:57 +01:00
parent e55ff39192
commit 2950cd9069
1 changed files with 1 additions and 1 deletions

View File

@ -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)};
}