From 0d9790421699a22fc6a5962b41910c3b7d089353 Mon Sep 17 00:00:00 2001 From: "D. Shah" Date: Thu, 28 Jan 2021 14:38:20 +0000 Subject: clangformat Signed-off-by: D. Shah --- common/nextpnr.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'common/nextpnr.h') diff --git a/common/nextpnr.h b/common/nextpnr.h index 5fa946e1..b4f68f93 100644 --- a/common/nextpnr.h +++ b/common/nextpnr.h @@ -631,7 +631,7 @@ struct DeterministicRNG rng64(); } - template void shuffle(const Iter& begin, const Iter& end) + template void shuffle(const Iter &begin, const Iter &end) { size_t size = end - begin; for (size_t i = 0; i != size; i++) { @@ -641,10 +641,7 @@ struct DeterministicRNG } } - template void shuffle(std::vector &a) - { - shuffle(a.begin(), a.end()); - } + template void shuffle(std::vector &a) { shuffle(a.begin(), a.end()); } template void sorted_shuffle(std::vector &a) { -- cgit v1.2.3