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:
parent
26cb05051b
commit
8b1771b03e
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue