Commit a50bffda authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by Facebook GitHub Bot

fix get_underlying constexpr-specification mismatch

Summary: Some compilers fail when `friend` declarations have mismatched `constexpr`-specifiers.

Reviewed By: Mizuchi

Differential Revision: D26601032

fbshipit-source-id: a49e327ff9353ddb21eac96776f97d4089c85374
parent b4a6fc01
......@@ -165,8 +165,8 @@ class propagate_const {
}
private:
friend Pointer& get_underlying<>(propagate_const&);
friend Pointer const& get_underlying<>(propagate_const const&);
friend constexpr Pointer& get_underlying<>(propagate_const&);
friend constexpr Pointer const& get_underlying<>(propagate_const const&);
template <typename OtherPointer>
friend class propagate_const;
......
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