From: Remi Gacogne Date: Thu, 30 May 2024 14:56:55 +0000 (+0200) Subject: sstuff: Convert a `static const` to `static constexpr` X-Git-Tag: rec-5.2.0-alpha1~172^2~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=945df0b90e47495dbe9f95386420ef6406cc348a;p=thirdparty%2Fpdns.git sstuff: Convert a `static const` to `static constexpr` --- diff --git a/pdns/sstuff.hh b/pdns/sstuff.hh index c696b99afc..e673c320dd 100644 --- a/pdns/sstuff.hh +++ b/pdns/sstuff.hh @@ -416,7 +416,7 @@ public: } private: - static const size_t s_buflen{4096}; + static constexpr size_t s_buflen{4096}; std::string d_buffer; int d_socket; };