Defacer35 22 Posted January 22, 2023 Share Posted January 22, 2023 (edited) Hi devs, since i upgrade my compiler to C++23, i have some trouble with this warn, anyone knows to how to deal with it ? Best regards. inline TAffectFlag& operator = (const TAffectFlag& rhs) { bits[0] = rhs.bits[0]; bits[1] = rhs.bits[1]; return *this; } Edited January 22, 2023 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Denizeri24 35 Posted January 22, 2023 Share Posted January 22, 2023 (edited) Edited January 22, 2023 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
Defacer35 22 Posted January 22, 2023 Author Share Posted January 22, 2023 22 minutes ago, Denizeri24 said: Thank you very much, i seen this "= default;" in c++11 features page but i been can't implement in the code, thanks for help, bless you. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now