Commit 517050ed authored by atraczyk's avatar atraczyk Committed by gerrit2

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
......@@ -22,6 +22,7 @@
#include "logger.h"
#include <string.h>
#include <cstring> // memset
#include <algorithm>
namespace ring {
......
......@@ -30,6 +30,7 @@
#include <utility> // for std::pair
#include <cstdlib>
#include <cstring>
#include <algorithm>
namespace ring {
......
......@@ -27,7 +27,7 @@
#include <limits>
#include <utility> // for std::pair
#include <cstring>
#include <algorithm> // for std::min
#include <algorithm>
namespace ring {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment