Commit 618db6a4 authored by Dan Melnic's avatar Dan Melnic Committed by Facebook GitHub Bot

Workaround for a clang -Wreorder issue

Summary: Workaround for: "folly/Range.h:252:9: error: field 'b_' will be initialized after field 'e_' [-Werror,-Wreorder]"

Reviewed By: yfeldblum

Differential Revision: D26788131

fbshipit-source-id: 3664ea96adc26b0f97ad8d11259b018c39254692
parent 63c11c4e
...@@ -249,7 +249,7 @@ class Range { ...@@ -249,7 +249,7 @@ class Range {
std::declval<Container const&>().data() + std::declval<Container const&>().data() +
std::declval<Container const&>().size()))> std::declval<Container const&>().size()))>
/* implicit */ constexpr Range(Container const& container) /* implicit */ constexpr Range(Container const& container)
: b_(container.data()), e_(b_ + container.size()) {} : Range(container.data(), container.size()) {}
template < template <
class Container, class Container,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment