Skip to content
Snippets Groups Projects
Commit 517050ed authored by Andreas Traczyk's avatar Andreas Traczyk Committed by gerrit2
Browse files

fix: <algorithm> should be included for usage of std::min/std::max

- adds the include of <algorithm> in source files which use
  std::min/std::max functions.

Change-Id: I873954f40492ffdec9249e71c585a38dddc9d86f
Tuleap: #790
parent 149e8e5c
No related branches found
No related tags found
No related merge requests found
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include "logger.h" #include "logger.h"
#include <string.h> #include <string.h>
#include <cstring> // memset #include <cstring> // memset
#include <algorithm>
namespace ring { namespace ring {
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
#include <utility> // for std::pair #include <utility> // for std::pair
#include <cstdlib> #include <cstdlib>
#include <cstring> #include <cstring>
#include <algorithm>
namespace ring { namespace ring {
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#include <limits> #include <limits>
#include <utility> // for std::pair #include <utility> // for std::pair
#include <cstring> #include <cstring>
#include <algorithm> // for std::min #include <algorithm>
namespace ring { namespace ring {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment