There are virtual methods (setModified, clearModified, and isModified) in both...
There are virtual methods (setModified, clearModified, and isModified) in both Files/CaretMappableDataFile and FilesBase/VolumeBase. VolumeFile inherits from both these classes and but does not implement isModified(). Everything has been okay until I added some standard template code that called isModified() and that caused a compiler error about isModified being in two base classes and it did not know which one to use. Implementing isModified() in VolumeFile would probably have fixed the problem but, after thinking about it, I decided that having identically named methods in two super classes is probably not a good idea. So, the methods in VolumeBase were renamed to setModifiedVolumeBase, clearModifiedVolumeBase, and isModifiedVolumeBase.
parent
d06060e1
Please register or sign in to comment