Commit 9cad4956 authored by Nicholas Ormrod's avatar Nicholas Ormrod Committed by Facebook GitHub Bot

Rm non-const ctor for not_null

Summary:
D22214468 added a non-const copy constructor override. This does not compile on all platforms.

The reasoning in D22214468 pertains to overload resolution for copies. The specifics for adding the non-const copy constructor (in addition to having the const version) are lost. (If only we could ask the author... but past me does not have the answers that present me needs.) It is possible that later changes have obviated the need. Try removing.

Reviewed By: yfeldblum

Differential Revision: D31218444

fbshipit-source-id: 307030df044b4413125365782064066c99570f02
parent ed110c19
......@@ -94,7 +94,6 @@ class not_null_base : protected guaranteed_not_null_provider {
/* implicit */ not_null_base(std::nullptr_t) = delete;
not_null_base(const not_null_base& nn) = default;
not_null_base(not_null_base& nn) = default;
not_null_base(not_null_base&& nn) = default;
template <
......
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