Skip to content

Commit

Permalink
Problem: clang-format produces C++11 style nested templated arguments
Browse files Browse the repository at this point in the history
Solution: Fixed C++ standard in clang-format config
  • Loading branch information
sigiesec committed Jul 12, 2019
1 parent d9dce8f commit 8a7a9cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ SpaceInEmptyParentheses: false
SpacesInAngles: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: Cpp11
Standard: Cpp03

SortIncludes: false

Expand Down
2 changes: 1 addition & 1 deletion perf/benchmark_radix_tree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ void benchmark_lookup (T &subscriptions_,
std::vector<unsigned char *> &queries_)
{
using namespace std::chrono;
std::vector<duration<long, std::nano>> samples_vec;
std::vector<duration<long, std::nano> > samples_vec;
samples_vec.reserve (samples);

for (std::size_t run = 0; run < warmup_runs; ++run) {
Expand Down

0 comments on commit 8a7a9cb

Please sign in to comment.