summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirk Shoop <kirk.shoop@microsoft.com>2013-06-17 21:36:22 -0700
committerKirk Shoop <kirk.shoop@microsoft.com>2013-06-17 21:36:22 -0700
commit27a38f93b45b4e5065c26fb630a3e9173d7caab2 (patch)
tree0ab0984b1e2424b8ca520d65b082b348cda490db
parent674bd2437fd527df2184e64ece3d64f94fc5bc45 (diff)
downloadRxCpp-27a38f93b45b4e5065c26fb630a3e9173d7caab2.tar.gz
clang warning
-rw-r--r--Ix/CPP/src/cpplinq/linq_cursor.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Ix/CPP/src/cpplinq/linq_cursor.hpp b/Ix/CPP/src/cpplinq/linq_cursor.hpp
index 827c488..8c95371 100644
--- a/Ix/CPP/src/cpplinq/linq_cursor.hpp
+++ b/Ix/CPP/src/cpplinq/linq_cursor.hpp
@@ -177,16 +177,16 @@ namespace cpplinq {
iter_cursor(Iterator start, Iterator fin)
- : start(start)
+ : current(start)
+ , start(start)
, fin(std::move(fin))
- , current(start)
{
}
iter_cursor(Iterator start, Iterator fin, Iterator current)
- : start(std::move(start))
+ : current(std::move(current))
+ , start(std::move(start))
, fin(std::move(fin))
- , current(std::move(current))
{
}