Remove assertion on SELECTION_CONDITION

The proposed overload did not compile on gcc and using adjustments to
get to compile by moving definition into cpp results in false positives.
This is removed until we can come up with a better solution and test
This commit is contained in:
Seth Hillbrand 2021-02-19 12:18:23 -08:00
parent 26cb05051b
commit 8b1771b03e
1 changed files with 0 additions and 9 deletions

View File

@ -62,15 +62,6 @@ SELECTION_CONDITION operator&&( const SELECTION_CONDITION& aConditionA,
SELECTION_CONDITION operator&&( SELECTION_BOOL aConditionA,
const SELECTION_CONDITION& aConditionB );
// We don't use uninitialized SELECTION_CONDITIONs, so casting to bool is probably
// a programming error.
template<> SELECTION_CONDITION::operator bool() const noexcept
{
wxASSERT( "Incorrect use of SELECTION_CONDITION" );
return false;
};
/**
* Class that groups generic conditions for selected items.
*/