aboutsummaryrefslogtreecommitdiff
path: root/src/bench/base58.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bench/base58.cpp')
-rw-r--r--src/bench/base58.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bench/base58.cpp b/src/bench/base58.cpp
index 65e27a615..2d9a9f290 100644
--- a/src/bench/base58.cpp
+++ b/src/bench/base58.cpp
@@ -2,10 +2,10 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
-#include "bench.h"
+#include <bench/bench.h>
-#include "validation.h"
-#include "base58.h"
+#include <validation.h>
+#include <base58.h>
#include <array>
#include <vector>
@@ -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());
}
}