diff --git a/benchmarks/bench_ip.cpp b/benchmarks/bench_ip.cpp index cfb4525..a7d8dad 100644 --- a/benchmarks/bench_ip.cpp +++ b/benchmarks/bench_ip.cpp @@ -34,8 +34,7 @@ void pretty_print(size_t volume, size_t bytes, std::string name, printf("\n"); } -fastfloat_really_inline const char *seek_ip_end(const char *p, - const char *pend) { +fastfloat_inline const char *seek_ip_end(const char *p, const char *pend) { const char *current = p; size_t count = 0; for (; current != pend; ++current) { @@ -60,7 +59,7 @@ fastfloat_really_inline const char *seek_ip_end(const char *p, enum class parse_method { standard, fast_float }; template -fastfloat_really_inline std::pair +fastfloat_inline std::pair simple_parse_ip_line(const char *p, const char *pend) { const char *current = p; uint32_t ip = 0; @@ -184,4 +183,4 @@ int main() { })); return EXIT_SUCCESS; -} \ No newline at end of file +} diff --git a/tests/ipv4_test.cpp b/tests/ipv4_test.cpp index f3055dc..04f0d54 100644 --- a/tests/ipv4_test.cpp +++ b/tests/ipv4_test.cpp @@ -37,8 +37,7 @@ void uint32_to_ipv4_string(uint32_t ip, char *buffer) { *ptr = '\0'; } -fastfloat_really_inline uint32_t ipv4_string_to_uint32(const char *str, - const char *end) { +uint32_t ipv4_string_to_uint32(const char *str, const char *end) { uint32_t ip = 0; const char *current = str; @@ -90,4 +89,4 @@ int main() { std::cerr << "IPv4 conversion test failed!" << std::endl; return EXIT_FAILURE; } -} \ No newline at end of file +}