From a5c8437873f07e923b6957af3276096fd80b2b95 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 11 Nov 2015 19:05:32 +0000 Subject: [PATCH] Remove unneeded conversion --- src/string.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/string.hh b/src/string.hh index eb98eb03..0399f23a 100644 --- a/src/string.hh +++ b/src/string.hh @@ -110,7 +110,7 @@ public: const char* data() const { return m_data.data(); } [[gnu::always_inline]] - ByteCount length() const { return (int)m_data.length(); } + ByteCount length() const { return m_data.length(); } [[gnu::always_inline]] const char* c_str() const { return m_data.c_str(); }