Problem: clang-format produces C++11 style nested templated arguments

Solution: Fixed C++ standard in clang-format config
This commit is contained in:
Simon Giesecke 2019-07-11 13:13:52 +02:00
parent d9dce8f068
commit 8a7a9cb90f
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ SpaceInEmptyParentheses: false
SpacesInAngles: false SpacesInAngles: false
SpacesInParentheses: false SpacesInParentheses: false
SpacesInSquareBrackets: false SpacesInSquareBrackets: false
Standard: Cpp11 Standard: Cpp03
SortIncludes: false SortIncludes: false

View File

@ -52,7 +52,7 @@ void benchmark_lookup (T &subscriptions_,
std::vector<unsigned char *> &queries_) std::vector<unsigned char *> &queries_)
{ {
using namespace std::chrono; using namespace std::chrono;
std::vector<duration<long, std::nano>> samples_vec; std::vector<duration<long, std::nano> > samples_vec;
samples_vec.reserve (samples); samples_vec.reserve (samples);
for (std::size_t run = 0; run < warmup_runs; ++run) { for (std::size_t run = 0; run < warmup_runs; ++run) {