Parse suffixes without switch-fallthrough in huge-pages
authorYedidya Feldblum <yfeldblum@fb.com>
Fri, 21 Jul 2017 02:29:14 +0000 (19:29 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 21 Jul 2017 02:38:16 +0000 (19:38 -0700)
commitaf8f1710d90ece63b05cda944138189933bd3436
tree88f3631d37c281061172ab5ec10e8821d019f252
parent060471a0cef0ee12840dc9367909a17978069a0e
Parse suffixes without switch-fallthrough in huge-pages

Summary: [Folly] Parse suffixes without switch-fallthrough in huge-pages. It is clever, but weird. We can use an immediately-executed lambda expression to make it convenient.

Reviewed By: Orvid

Differential Revision: D5467585

fbshipit-source-id: 02ddb97641db97e38e3f40388ecc522eccd436cb
folly/experimental/io/HugePages.cpp