diff options
author | Kirk Shoop <kirk.shoop@microsoft.com> | 2014-04-28 10:56:15 -0700 |
---|---|---|
committer | Kirk Shoop <kirk.shoop@microsoft.com> | 2014-04-28 10:56:15 -0700 |
commit | cca6c778873f8de810a4bd11bd263df214237538 (patch) | |
tree | 311dd84b12712f34ee6cf9d2c67d99388dc575b6 /Rx/v2/src/rxcpp/rx-observer.hpp | |
parent | d230f4cb858482012d27ff66399c63f868163b64 (diff) | |
download | RxCpp-cca6c778873f8de810a4bd11bd263df214237538.tar.gz |
remove some default constructors
Diffstat (limited to 'Rx/v2/src/rxcpp/rx-observer.hpp')
-rw-r--r-- | Rx/v2/src/rxcpp/rx-observer.hpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Rx/v2/src/rxcpp/rx-observer.hpp b/Rx/v2/src/rxcpp/rx-observer.hpp index 74946e8..23b58ab 100644 --- a/Rx/v2/src/rxcpp/rx-observer.hpp +++ b/Rx/v2/src/rxcpp/rx-observer.hpp @@ -202,14 +202,13 @@ class observer : public observer_base<T> typedef typename std::decay<I>::type inner_t; inner_t inner; + + observer(); public: ~observer() { } - observer() - { - } - observer(inner_t inner) + explicit observer(inner_t inner) : inner(std::move(inner)) { } |