diff options
Diffstat (limited to 'async/src/async.h')
-rw-r--r-- | async/src/async.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/async/src/async.h b/async/src/async.h index adc0b69..2430a27 100644 --- a/async/src/async.h +++ b/async/src/async.h | |||
@@ -101,7 +101,7 @@ struct Execution { | |||
101 | void setFinished(); | 101 | void setFinished(); |
102 | 102 | ||
103 | template<typename T> | 103 | template<typename T> |
104 | Async::Future<T>* result() | 104 | Async::Future<T>* result() const |
105 | { | 105 | { |
106 | return static_cast<Async::Future<T>*>(resultBase); | 106 | return static_cast<Async::Future<T>*>(resultBase); |
107 | } | 107 | } |