From: Christopher Dykes Date: Thu, 4 Aug 2016 22:40:16 +0000 (-0700) Subject: Fix a pair of non-ascii quotes that made their way into AsyncSocket X-Git-Tag: v2016.08.08.00~14 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=6ed8b5421ece29e7cee07cc747e08b93642be0aa;p=folly.git Fix a pair of non-ascii quotes that made their way into AsyncSocket Summary: Because the lint error was annoying me. Reviewed By: yfeldblum Differential Revision: D3671252 fbshipit-source-id: 2962db7616077f531e64c6f2b26ad708c7adf6ed --- diff --git a/folly/io/async/AsyncSocket.cpp b/folly/io/async/AsyncSocket.cpp index dd0caa37..f74fe920 100644 --- a/folly/io/async/AsyncSocket.cpp +++ b/folly/io/async/AsyncSocket.cpp @@ -663,8 +663,7 @@ void AsyncSocket::writeChain(WriteCallback* callback, unique_ptr&& buf, constexpr size_t kSmallSizeMax = 64; size_t count = buf->countChainElements(); if (count <= kSmallSizeMax) { - - // suppress "warning: variable length array ‘vec’ is used [-Wvla]" + // suppress "warning: variable length array 'vec' is used [-Wvla]" FOLLY_PUSH_WARNING; FOLLY_GCC_DISABLE_WARNING(vla); iovec vec[BOOST_PP_IF(FOLLY_HAVE_VLA, count, kSmallSizeMax)];