From d0566119891c7f381cbe7a375c09ccda6c0c689a Mon Sep 17 00:00:00 2001 From: Kp Date: Wed, 23 Oct 2019 02:58:41 +0000 Subject: [PATCH] Fix mglobal.cpp build in clang-9 clang-9 reports: ``` similar/main/mglobal.cpp:210:44: error: 'report_error_uses_exception' is a protected member of 'valptridx_specialized_type_parameters' template ::report_error_uses_exception::value> ^ similar/main/mglobal.cpp:229:16: note: in instantiation of default argument for 'instantiation_guard' required here template class instantiation_guard::type::index_range_exception; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/include/fwd-valptridx.h:42:2: note: constrained by protected inheritance here protected valptridx_specialized_types::type ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/include/cpp-valptridx.h:175:8: note: member is declared here using report_error_uses_exception = std::integral_constant; public: class array_managed_type; + using typename specialized_types::report_error_uses_exception; protected: using const_pointer_type = const managed_type *;