forked from boostorg/static_string
Remove unused alias, explicitly specify private inheritence
This commit is contained in:
@ -688,7 +688,7 @@ template<
|
||||
typename Traits = std::char_traits<CharT>>
|
||||
class basic_static_string
|
||||
#ifndef GENERATING_DOCUMENTATION
|
||||
: detail::optimization_base<N, CharT, Traits>
|
||||
: private detail::optimization_base<N, CharT, Traits>
|
||||
#endif
|
||||
{
|
||||
private:
|
||||
@ -701,9 +701,6 @@ private:
|
||||
{
|
||||
this->term_impl();
|
||||
}
|
||||
|
||||
using base = detail::optimization_base<N, CharT, Traits>;
|
||||
|
||||
public:
|
||||
//--------------------------------------------------------------------------
|
||||
//
|
||||
|
@ -193,6 +193,7 @@ testConstantEvaluation()
|
||||
a.replace(a.begin(), a.end(), {'a'});
|
||||
|
||||
#ifdef BOOST_STATIC_STRING_IS_CONST_EVAL
|
||||
a.clear();
|
||||
a.replace(a.begin(), a.end(), "a");
|
||||
a.replace(a.begin(), a.end(), "a", 1);
|
||||
#endif
|
||||
@ -382,6 +383,7 @@ testConstantEvaluation()
|
||||
a.replace(a.begin(), a.end(), {'a'});
|
||||
|
||||
#ifdef BOOST_STATIC_STRING_IS_CONST_EVAL
|
||||
a.clear();
|
||||
a.replace(a.begin(), a.end(), "a");
|
||||
a.replace(a.begin(), a.end(), "a", 1);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user