reuse a call to process instead of duplicting code

This commit is contained in:
Sascha Kühl 2025-11-14 09:47:28 +01:00
parent 167e2ef382
commit 61796d7c42
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ void process(Operator &op, Type &object) {
template<class Operator, class Type>
void process(Operator &op, const Type &object) {
const_cast<Type &>(object).process(op);
process(op, const_cast<Type &>(object));
}
template< class Operator, class Type >