Compiler Error C2031
a virtual destructor with 'accessibility' accessibility is not allowed for this type
a virtual destructor must have 'public' accessibility
A virtual Windows Runtime class has an access specifier or sealed
specifier that's not allowed for a virtual destructor. For more information, see Ref classes and structs.
To fix this error, change the accessibility of the destructor.
Athugasemdir
https://aka.ms/ContentUserFeedback.
Væntanlegt: Á árinu 2024 munum við hætta með GitHub-mál sem ábendingaleið fyrir efni og skipta því út fyrir nýtt ábendingakerfi. Frekari upplýsingar er að finna hér:Senda inn og skoða endurgjöf fyrir