diff options
author | D. Shah <dave@ds0.me> | 2021-01-28 14:38:20 +0000 |
---|---|---|
committer | D. Shah <dave@ds0.me> | 2021-01-28 14:38:20 +0000 |
commit | 0d9790421699a22fc6a5962b41910c3b7d089353 (patch) | |
tree | 62ec831daf16806e16535eeca8764e20bdbce757 /common/nextpnr.h | |
parent | b671d8f59d425b6faf07167b7360cecd12366151 (diff) | |
download | nextpnr-0d9790421699a22fc6a5962b41910c3b7d089353.tar.gz nextpnr-0d9790421699a22fc6a5962b41910c3b7d089353.tar.bz2 nextpnr-0d9790421699a22fc6a5962b41910c3b7d089353.zip |
clangformat
Signed-off-by: D. Shah <dave@ds0.me>
Diffstat (limited to 'common/nextpnr.h')
-rw-r--r-- | common/nextpnr.h | 7 |
1 files changed, 2 insertions, 5 deletions
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 <typename Iter> void shuffle(const Iter& begin, const Iter& end) + template <typename Iter> 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 <typename T> void shuffle(std::vector<T> &a) - { - shuffle(a.begin(), a.end()); - } + template <typename T> void shuffle(std::vector<T> &a) { shuffle(a.begin(), a.end()); } template <typename T> void sorted_shuffle(std::vector<T> &a) { |