diff --git a/folly/FBString.h b/folly/FBString.h index 4882aac..6c83046 100644 --- a/folly/FBString.h +++ b/folly/FBString.h @@ -1890,12 +1890,14 @@ inline basic_fbstring& basic_fbstring::operator=( template template -inline typename std::enable_if< - std::is_same< - typename std::decay::type, - typename basic_fbstring::value_type>::value, - basic_fbstring&>::type -basic_fbstring::operator=(TP c) { +inline auto +basic_fbstring::operator=(TP c) + -> typename std::enable_if< + std::is_same< + typename std::decay::type, + typename basic_fbstring::value_type>::value, + basic_fbstring&>::type +{ Invariant checker(*this); if (empty()) {