Skip to content

Commit 53beda6

Browse files
author
Henry Hoegelow
committed
needed to support unique-ptrs
1 parent 116aa80 commit 53beda6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

include/reactive/Var.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ namespace Reactive
4242
template <typename T> class Var : public Detail::VarBase
4343
{
4444
public:
45-
Var(const T &init = {})
45+
Var() = default;
46+
47+
Var(const T &init)
4648
: m_value(init)
4749
{
4850
}

0 commit comments

Comments
 (0)