Skip to content

Commit

Permalink
add missing include
Browse files Browse the repository at this point in the history
to fix:
```cpp
/build/source/test/performance/logging.cc: In function 'void {anonymous}::PrintStats(const std::string&, const std::map<long unsigned int, std::vector<long unsigned int> >&, uint64_t)':
/build/source/test/performance/logging.cc:79:16: error: 'max_element' is not a member of 'std'; did you mean 'tuple_element'?
   79 |         (*std::max_element(t_result.second.begin(), t_result.second.end()));
      |                ^~~~~~~~~~~
```

Signed-off-by: Guilhem Saurel <guilhem.saurel@laas.fr>
  • Loading branch information
nim65s committed Jan 20, 2025
1 parent 1deb6d9 commit 66ea0e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/performance/logging.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
*/
#include <gtest/gtest.h>

#include <algorithm>
#include <atomic>
#include <map>
#include <thread>
Expand Down

0 comments on commit 66ea0e6

Please sign in to comment.