diff options
author | Marcin Hoffmann <marcin.hoffmann.mh@gmail.com> | 2015-07-22 00:40:33 +0200 |
---|---|---|
committer | Kirk Shoop <kirk.shoop@microsoft.com> | 2015-07-21 18:04:47 -0700 |
commit | 8911d8ae569e8933404c8ddcceae662f67f68901 (patch) | |
tree | 327d2fe3565b93c60811332abaa6dbf842503138 /Rx | |
parent | 25a8572b6da5d2e11a8b8dc08e4493f8abd397d5 (diff) | |
download | RxCpp-8911d8ae569e8933404c8ddcceae662f67f68901.tar.gz |
change template parameter name B0 that causes compilaton error when used with boost/asio
Diffstat (limited to 'Rx')
-rw-r--r-- | Rx/v2/src/rxcpp/rx-util.hpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Rx/v2/src/rxcpp/rx-util.hpp b/Rx/v2/src/rxcpp/rx-util.hpp index 400a305..5231da0 100644 --- a/Rx/v2/src/rxcpp/rx-util.hpp +++ b/Rx/v2/src/rxcpp/rx-util.hpp @@ -71,15 +71,15 @@ struct values_from template<bool... BN> struct all_true; -template<bool B0> -struct all_true<B0> +template<bool B> +struct all_true<B> { - static const bool value = B0; + static const bool value = B; }; -template<bool B0, bool... BN> -struct all_true<B0, BN...> +template<bool B, bool... BN> +struct all_true<B, BN...> { - static const bool value = B0 && all_true<BN...>::value; + static const bool value = B && all_true<BN...>::value; }; struct all_values_true { |