Replace use of deprecated C Standard library headers in C++ code.
Change-Id: I9fa6630c7e4bdb2897df34d417635d8c7d8253bc
Signed-off-by: Tyler Chatow <tchatow@gmail.com>
diff --git a/aos/util/wrapping_counter_test.cc b/aos/util/wrapping_counter_test.cc
index e5c58f3..3ef503b 100644
--- a/aos/util/wrapping_counter_test.cc
+++ b/aos/util/wrapping_counter_test.cc
@@ -1,6 +1,6 @@
#include "aos/util/wrapping_counter.h"
-#include <limits.h>
+#include <climits>
#include "gtest/gtest.h"
@@ -36,7 +36,7 @@
EXPECT_EQ(i, test_counter.Update(i & 0xFF));
}
}
-}
+} // namespace
// This tests the basic wrapping functionality.
TEST(WrappingCounterTest, ReasonableWrapping) {