删除多余代码

This commit is contained in:
ziyue 2021-10-16 16:58:13 +08:00
parent f5f58196b5
commit 488026c0b8

View File

@ -78,11 +78,6 @@ extern const char kServerName[];
void printArgs(std::ostream &out); void printArgs(std::ostream &out);
template<typename First>
void printArgs(std::ostream &out, First &&first) {
out << std::forward<First>(first);
}
template<typename First, typename ...ARGS> template<typename First, typename ...ARGS>
void printArgs(std::ostream &out, First &&first, ARGS &&...args) { void printArgs(std::ostream &out, First &&first, ARGS &&...args) {
out << std::forward<First>(first); out << std::forward<First>(first);