diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-01-28 13:55:49 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-01-28 13:55:50 +0200 |
commit | 4a0e4c7d706f33fb72fe809434676b1de7b4b4f7 (patch) | |
tree | 36fdd03f84ae78dbd217b5bd255bd86e33db1bcc /src/common/varint.h | |
parent | Merge pull request #5008 (diff) | |
parent | Pruning (diff) | |
download | monero-4a0e4c7d706f33fb72fe809434676b1de7b4b4f7.tar.xz |
Merge pull request #4843
b750fb27 Pruning (moneromooo-monero)
Diffstat (limited to 'src/common/varint.h')
-rw-r--r-- | src/common/varint.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/varint.h b/src/common/varint.h index 151d13dbf..904255afc 100644 --- a/src/common/varint.h +++ b/src/common/varint.h @@ -123,6 +123,6 @@ namespace tools { */ template<typename InputIt, typename T> int read_varint(InputIt &&first, InputIt &&last, T &i) { - return read_varint<std::numeric_limits<T>::digits, InputIt, T>(std::move(first), std::move(last), i); + return read_varint<std::numeric_limits<T>::digits>(std::forward<InputIt>(first), std::forward<InputIt>(last), i); } } |