diff options
author | Matt <MattPD@users.noreply.github.com> | 2015-07-23 15:48:07 +0200 |
---|---|---|
committer | Matt <MattPD@users.noreply.github.com> | 2015-07-23 15:48:07 +0200 |
commit | 1f209f74a91a75df96240ebc3434b8e9025c59db (patch) | |
tree | d9265ca91505994de639dc978eed0027688c6d0b /Ix | |
parent | c32780ce46b2b2234bcf1b7cc36a25be8272a25c (diff) | |
download | RxCpp-1f209f74a91a75df96240ebc3434b8e9025c59db.tar.gz |
Update linq_select.hpp
Diffstat (limited to 'Ix')
-rw-r--r-- | Ix/CPP/src/cpplinq/linq_select.hpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Ix/CPP/src/cpplinq/linq_select.hpp b/Ix/CPP/src/cpplinq/linq_select.hpp index 650a1dc..d505284 100644 --- a/Ix/CPP/src/cpplinq/linq_select.hpp +++ b/Ix/CPP/src/cpplinq/linq_select.hpp @@ -4,6 +4,8 @@ #define CPPLINQ_LINQ_SELECT_HPP #pragma once +#include <cstddef> + namespace cpplinq { template <class Collection, class Selector> @@ -30,9 +32,9 @@ namespace cpplinq bool atbegin() const { return cur.atbegin(); } void dec() { cur.dec(); } - void skip(size_t n) { cur.skip(n); } - size_t position() const { return cur.position(); } - size_t size() const { return cur.size(); } + void skip(std::size_t n) { cur.skip(n); } + std::size_t position() const { return cur.position(); } + std::size_t size() const { return cur.size(); } private: inner_cursor cur; Selector sel; |