Skip to content

Commit 2152f0d

Browse files
authored
Update concat_string.cc
1 parent debc54b commit 2152f0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/0002.concatstring/concat_string.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ template <typename Func> inline benchmark_return benchmark(Func meth) {
2828

2929
inline auto color_concat(std::uint_least8_t r, std::uint_least8_t g,
3030
std::uint_least8_t b) {
31-
return ::fast_io::concat("Red: ", r, ", Green: ", g, ", Blue: ", b);
31+
return ::fast_io::concat_std("Red: ", r, ", Green: ", g, ", Blue: ", b);
3232
}
3333

3434
int main() {
3535
auto concat_time = benchmark(color_concat);
3636
using namespace fast_io::io;
3737
perrln("concat_string:", concat_time.timestamp, "s");
38-
print("fast_io::concat (total size: ", concat_time.total_size, ") took ",
38+
print("fast_io::concat_std (total size: ", concat_time.total_size, ") took ",
3939
concat_time.timestamp, "s.\n");
4040
}

0 commit comments

Comments
 (0)