Fix more issues exposed by -pedantic-errors in c++03 mode
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@228711 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -46,7 +46,7 @@ make(int size, int start = 0 )
|
||||
for (int i = 0; i < start; ++i)
|
||||
c.pop_front();
|
||||
return c;
|
||||
};
|
||||
}
|
||||
|
||||
int main()
|
||||
{
|
||||
|
@@ -36,7 +36,7 @@ make(int size, int start = 0 )
|
||||
for (int i = 0; i < start; ++i)
|
||||
c.pop_front();
|
||||
return c;
|
||||
};
|
||||
}
|
||||
|
||||
template <class C>
|
||||
void
|
||||
|
@@ -36,7 +36,7 @@ make(int size, int start = 0 )
|
||||
for (int i = 0; i < start; ++i)
|
||||
c.pop_front();
|
||||
return c;
|
||||
};
|
||||
}
|
||||
|
||||
template <class C>
|
||||
void
|
||||
|
@@ -36,7 +36,7 @@ make(int size, int start = 0 )
|
||||
for (int i = 0; i < start; ++i)
|
||||
c.pop_front();
|
||||
return c;
|
||||
};
|
||||
}
|
||||
|
||||
template <class C>
|
||||
void
|
||||
|
@@ -38,7 +38,7 @@ make(int size, int start = 0 )
|
||||
for (int i = 0; i < start; ++i)
|
||||
c.pop_front();
|
||||
return c;
|
||||
};
|
||||
}
|
||||
|
||||
template <class C>
|
||||
void
|
||||
|
@@ -37,7 +37,7 @@ make(int size, int start = 0 )
|
||||
for (int i = 0; i < start; ++i)
|
||||
c.pop_front();
|
||||
return c;
|
||||
};
|
||||
}
|
||||
|
||||
template <class C>
|
||||
void
|
||||
|
@@ -39,7 +39,7 @@ make(int size, int start = 0 )
|
||||
for (int i = 0; i < start; ++i)
|
||||
c.pop_front();
|
||||
return c;
|
||||
};
|
||||
}
|
||||
|
||||
template <class C>
|
||||
void
|
||||
|
@@ -39,7 +39,7 @@ make(int size, int start = 0 )
|
||||
for (int i = 0; i < start; ++i)
|
||||
c.pop_front();
|
||||
return c;
|
||||
};
|
||||
}
|
||||
|
||||
template <class C>
|
||||
void
|
||||
|
@@ -39,7 +39,7 @@ make(int size, int start = 0 )
|
||||
for (int i = 0; i < start; ++i)
|
||||
c.pop_front();
|
||||
return c;
|
||||
};
|
||||
}
|
||||
|
||||
template <class C>
|
||||
void
|
||||
|
@@ -36,7 +36,7 @@ make(int size, int start = 0 )
|
||||
for (int i = 0; i < start; ++i)
|
||||
c.pop_front();
|
||||
return c;
|
||||
};
|
||||
}
|
||||
|
||||
template <class C>
|
||||
void
|
||||
|
@@ -38,7 +38,7 @@ make(int size, int start = 0 )
|
||||
for (int i = 0; i < start; ++i)
|
||||
c.pop_front();
|
||||
return c;
|
||||
};
|
||||
}
|
||||
|
||||
template <class C>
|
||||
void
|
||||
|
@@ -42,7 +42,7 @@ make(int size, int start = 0 )
|
||||
for (int i = 0; i < start; ++i)
|
||||
c.pop_front();
|
||||
return c;
|
||||
};
|
||||
}
|
||||
|
||||
template <class C>
|
||||
void
|
||||
|
@@ -39,7 +39,7 @@ make(int size, int start = 0 )
|
||||
for (int i = 0; i < start; ++i)
|
||||
c.pop_front();
|
||||
return c;
|
||||
};
|
||||
}
|
||||
|
||||
template <class C>
|
||||
void
|
||||
|
@@ -38,7 +38,7 @@ make(int size, int start = 0 )
|
||||
for (int i = 0; i < start; ++i)
|
||||
c.pop_front();
|
||||
return c;
|
||||
};
|
||||
}
|
||||
|
||||
template <class C>
|
||||
void
|
||||
|
@@ -36,7 +36,7 @@ make(int size, int start = 0 )
|
||||
for (int i = 0; i < start; ++i)
|
||||
c.pop_front();
|
||||
return c;
|
||||
};
|
||||
}
|
||||
|
||||
template <class C>
|
||||
void
|
||||
|
@@ -36,7 +36,7 @@ make(int size, int start = 0 )
|
||||
for (int i = 0; i < start; ++i)
|
||||
c.pop_front();
|
||||
return c;
|
||||
};
|
||||
}
|
||||
|
||||
template <class C>
|
||||
void
|
||||
|
@@ -36,7 +36,7 @@ make(int size, int start = 0 )
|
||||
for (int i = 0; i < start; ++i)
|
||||
c.pop_front();
|
||||
return c;
|
||||
};
|
||||
}
|
||||
|
||||
template <class C>
|
||||
void
|
||||
|
@@ -38,7 +38,7 @@ make(int size, int start = 0 )
|
||||
for (int i = 0; i < start; ++i)
|
||||
c.pop_front();
|
||||
return c;
|
||||
};
|
||||
}
|
||||
|
||||
template <class C>
|
||||
void test(int size)
|
||||
|
@@ -41,7 +41,7 @@ make(int size, int start = 0 )
|
||||
for (int i = 0; i < start; ++i)
|
||||
c.pop_front();
|
||||
return c;
|
||||
};
|
||||
}
|
||||
|
||||
template <class C>
|
||||
void test(int size)
|
||||
|
@@ -36,7 +36,7 @@ make(int size, int start = 0 )
|
||||
for (int i = 0; i < start; ++i)
|
||||
c.pop_front();
|
||||
return c;
|
||||
};
|
||||
}
|
||||
|
||||
template <class C>
|
||||
void
|
||||
|
@@ -39,7 +39,7 @@ make(int size, int start = 0 )
|
||||
for (int i = 0; i < start; ++i)
|
||||
c.pop_front();
|
||||
return c;
|
||||
};
|
||||
}
|
||||
|
||||
template <class C>
|
||||
void
|
||||
|
@@ -41,7 +41,7 @@ make(int size, int start = 0 )
|
||||
for (int i = 0; i < start; ++i)
|
||||
c.pop_front();
|
||||
return c;
|
||||
};
|
||||
}
|
||||
|
||||
template <class C>
|
||||
void testN(int start, int N)
|
||||
|
@@ -41,7 +41,7 @@ make(int size, int start = 0 )
|
||||
for (int i = 0; i < start; ++i)
|
||||
c.pop_front();
|
||||
return c;
|
||||
};
|
||||
}
|
||||
|
||||
template <class C>
|
||||
void testN(int start, int N)
|
||||
|
@@ -41,7 +41,7 @@ make(int size, int start = 0 )
|
||||
for (int i = 0; i < start; ++i)
|
||||
c.pop_front();
|
||||
return c;
|
||||
};
|
||||
}
|
||||
|
||||
template <class C>
|
||||
void testN(int start, int N)
|
||||
|
@@ -41,7 +41,7 @@ make(int size, int start = 0 )
|
||||
for (int i = 0; i < start; ++i)
|
||||
c.pop_front();
|
||||
return c;
|
||||
};
|
||||
}
|
||||
|
||||
template <class C>
|
||||
void testN(int start, int N)
|
||||
|
@@ -37,7 +37,7 @@ make(int size, int start = 0 )
|
||||
for (int i = 0; i < start; ++i)
|
||||
c.pop_front();
|
||||
return c;
|
||||
};
|
||||
}
|
||||
|
||||
template <class C>
|
||||
void testN(int start, int N, int M)
|
||||
|
Reference in New Issue
Block a user