aboutsummaryrefslogtreecommitdiff
path: root/src/bench/base58.cpp
diff options
context:
space:
mode:
authorAaron Clauson <aaron@sipsorcery.com>2017-11-10 07:06:49 +1100
committerAaron Clauson <aaron@sipsorcery.com>2017-11-10 07:06:49 +1100
commitfbf327b13868861c2877c5754caf5a9816f2603c (patch)
treec8fe180d7a8ad74859dfcf28e0f4de96eb2ab4e7 /src/bench/base58.cpp
parent1f4375f8e75f95522ad763d06da047b1b3893530 (diff)
Minimal code changes to allow msvc compilation.
Diffstat (limited to 'src/bench/base58.cpp')
-rw-r--r--src/bench/base58.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/base58.cpp b/src/bench/base58.cpp
index 65e27a615d..c74a958c8b 100644
--- a/src/bench/base58.cpp
+++ b/src/bench/base58.cpp
@@ -22,7 +22,7 @@ static void Base58Encode(benchmark::State& state)
}
};
while (state.KeepRunning()) {
- EncodeBase58(buff.begin(), buff.end());
+ EncodeBase58(buff.data(), buff.data() + buff.size());
}
}