Don't use a VLA for the dest buffer when testing wide FBString to multi-byte FBString
authorChristopher Dykes <cdykes@fb.com>
Sat, 2 Jul 2016 03:34:53 +0000 (20:34 -0700)
committerFacebook Github Bot 5 <facebook-github-bot-5-bot@fb.com>
Sat, 2 Jul 2016 03:38:24 +0000 (20:38 -0700)
commitb292dfea24ac8d9b1a4c0bd2ab9bf1b751ec7cb3
tree09107649e22d950a4a49a3fe3c3bc913f9aa724b
parent35e9dfc719087620bba711ab65579b430a25036f
Don't use a VLA for the dest buffer when testing wide FBString to multi-byte FBString

Summary: Because MSVC doesn't support VLA's.

Reviewed By: yfeldblum

Differential Revision: D3507441

fbshipit-source-id: a50bdbad31674d236e4994903c75232d70f32bc0
folly/io/async/test/EventBaseTest.cpp
folly/test/FBStringTest.cpp