From a8313ae0a3a9598fba95c126336dc6729bb22304 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Tue, 21 May 2019 16:14:02 +0200 Subject: AK: Always inline convert_between_host_and_network. --- AK/NetworkOrdered.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AK/NetworkOrdered.h b/AK/NetworkOrdered.h index b5dc404103..22805bdf50 100644 --- a/AK/NetworkOrdered.h +++ b/AK/NetworkOrdered.h @@ -3,7 +3,7 @@ #include template -T convert_between_host_and_network(T host_value) +[[gnu::always_inline]] inline T convert_between_host_and_network(T host_value) { if constexpr (sizeof(T) == 4) { auto* s = (byte*)&host_value; -- cgit v1.2.3