mirror of
https://github.com/nghttp2/nghttp2.git
synced 2025-12-08 02:58:53 +08:00
Remove util::copy_lit
This commit is contained in:
@@ -868,11 +868,6 @@ void shuffle(RandomIt first, RandomIt last, Generator &&gen, SwapFun fun) {
|
||||
}
|
||||
}
|
||||
|
||||
template <typename OutputIterator, typename CharT, size_t N>
|
||||
OutputIterator copy_lit(OutputIterator it, CharT (&s)[N]) {
|
||||
return std::copy_n(s, N - 1, it);
|
||||
}
|
||||
|
||||
// Returns x**y
|
||||
double int_pow(double x, size_t y);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user