Skip to content

Commit

Permalink
migrate from untagged array-range dynamic ctor (assorted)
Browse files Browse the repository at this point in the history
Reviewed By: Orvid

Differential Revision: D62552803

fbshipit-source-id: 66a5594083c54c3c10f0319c3248e1251d37662b
  • Loading branch information
yfeldblum authored and facebook-github-bot committed Sep 13, 2024
1 parent 9cfe4a7 commit aee6278
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fbpcs/emp_games/lift/common/LiftMetrics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@ LiftMetrics LiftMetrics::fromJson(const std::string& str) {

folly::dynamic LiftMetrics::toDynamic() const {
auto testConvHistogramDynamic =
folly::dynamic(testConvHistogram.begin(), testConvHistogram.end());
folly::dynamic::array_range(testConvHistogram);
auto controlConvHistogramDynamic =
folly::dynamic(controlConvHistogram.begin(), controlConvHistogram.end());
folly::dynamic::array_range(controlConvHistogram);

return folly::dynamic::object("testConversions", testConversions)(
"controlConversions", controlConversions)(
Expand Down

0 comments on commit aee6278

Please sign in to comment.