Fix a namespace issue
[folly.git] / folly / test / EnumerateTest.cpp
index 1b6fe223dfaa0c1a4d5aca5957254d4701bd6ec9..5466ddcd1c55a9a81de208a35517e7bb7075277f 100644 (file)
@@ -53,6 +53,8 @@ TEST(Enumerate, Temporary) {
   EXPECT_EQ(i, v.size());
 };
 
+namespace {
+
 template <class T>
 struct IsConstReference {
   constexpr static bool value = false;
@@ -62,6 +64,8 @@ struct IsConstReference<const T&> {
   constexpr static bool value = true;
 };
 
+} // namespace
+
 TEST(Enumerate, BasicConstArg) {
   const std::vector<std::string> v = {"abc", "a", "ab"};
   size_t i = 0;