On 15/12/16 22:33 +0200, Ville Voutilainen wrote:
@@ -499,9 +501,10 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
    {
      static_assert(any::__is_valid_cast<_ValueType>(),
          "Template argument must be a reference or CopyConstructible type");
-      auto __p = any_cast<remove_reference_t<_ValueType>>(&__any);
+      using _Up = remove_cv_t<remove_reference_t<_ValueType>>;

This typedef is unused and should be removed.

OK with that change, thanks.

Reply via email to