Add nullifyNanAndInf parameter to FBCxxUtils

Summary:
There was an issue with syncing our internal files to github. A change was made in the utils that wasn't synced out, despite the sonar code using the new API.
This brings the util update to github, while I fix the syncing issue. After that there will be a single source of truth so no more sync issues like this can occur.

Reviewed By: priteshrnandgaonkar

Differential Revision: D8541128

fbshipit-source-id: d8509b65035569c4ee9707e5d7eab99fa325da88
This commit is contained in:
John Knox
2018-06-20 08:36:41 -07:00
committed by Facebook Github Bot
parent 54fa6aa8f2
commit 94f03f182b
2 changed files with 24 additions and 10 deletions

View File

@@ -14,7 +14,7 @@
namespace facebook {
namespace cxxutils {
folly::dynamic convertIdToFollyDynamic(id json);
folly::dynamic convertIdToFollyDynamic(id json, bool nullifyNanAndInf = false);
id convertFollyDynamicToId(const folly::dynamic &dyn);
} }