Skip to content

Commit 6f8c97c

Browse files
committed
Add missing &
1 parent f11a95e commit 6f8c97c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/ola/thread/FuturePrivate.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class FutureImpl {
9090
T m_value;
9191

9292
FutureImpl(const FutureImpl<T>&) = delete;
93-
FutureImpl<T> operator=(const FutureImpl<T>&) = delete;
93+
FutureImpl<T>& operator=(const FutureImpl<T>&) = delete;
9494
};
9595

9696
/**
@@ -154,7 +154,7 @@ class FutureImpl<void> {
154154
bool m_is_set;
155155

156156
FutureImpl(const FutureImpl<void>&) = delete;
157-
FutureImpl<void> operator=(const FutureImpl<void>&) = delete;
157+
FutureImpl<void>& operator=(const FutureImpl<void>&) = delete;
158158
};
159159

160160
} // namespace thread

0 commit comments

Comments
 (0)