From f975d3c54800b7065985e5e548ce1d91fef4926c Mon Sep 17 00:00:00 2001 From: Uladzislau Paulovich Date: Wed, 21 Jun 2017 06:19:44 -0700 Subject: [PATCH] Add missing uint32 type to folly::ProgramOptions::gFlagAdders Summary: Absence of "uint32" type in gFlagAdders map breaks all apps that use gflags of this type (i.e. define a flag with "DEFINE_uint32"). Reviewed By: WillerZ Differential Revision: D5286720 fbshipit-source-id: c02bd959cb9ea9a47fba1e01429181ba09edf5dd --- folly/experimental/ProgramOptions.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/folly/experimental/ProgramOptions.cpp b/folly/experimental/ProgramOptions.cpp index 73c471ff..842cfbca 100644 --- a/folly/experimental/ProgramOptions.cpp +++ b/folly/experimental/ProgramOptions.cpp @@ -237,6 +237,7 @@ const std::unordered_map gFlagAdders = { X("bool", bool) X("int32", int32_t) X("int64", int64_t) + X("uint32", uint32_t) X("uint64", uint64_t) X("double", double) X("string", std::string) -- 2.34.1