From 9a89e851d22ae6381f7f64bede77a6e6fda9fa49 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Mon, 7 Apr 2025 11:49:36 +0200 Subject: [PATCH] Include : - aggiunto l'operatore == alla struttura SelData (per consentire confronti con funzioni STL direttamente sui contenitori). --- EGkSelection.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/EGkSelection.h b/EGkSelection.h index 7859466..a537518 100644 --- a/EGkSelection.h +++ b/EGkSelection.h @@ -36,6 +36,8 @@ struct SelData { : nId( nI), nSub( SEL_SUB_ALL) {} SelData( int nI, int nS) : nId( nI), nSub( nS) {} + bool operator == ( const SelData& other) const + { return ( nId == other.nId && nSub == other.nSub) ; } } ; //----------------------------------------------------------------------------