File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ class TImagePalette : public TObject {
5353 static TImagePalette* Create (Option_t* opts);
5454 static TImagePalette* CreateCOLPalette (Int_t nContours);
5555
56- ClassDef (TImagePalette,2 ) // Color Palette for value -> color conversion
56+ ClassDefOverride (TImagePalette,2 ) // Color Palette for value -> color conversion
5757};
5858
5959class TAttImage {
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ friend TImage operator/(const TImage &i1, const TImage &s2);
108108 virtual ~TImage () { }
109109
110110 // Cloning
111- virtual TObject *Clone (const char *) const { return 0 ; }
111+ TObject *Clone (const char *) const override { return nullptr ; }
112112
113113 // Input / output
114114 virtual void ReadImage (const char * /* file*/ , EImageFileTypes /* type*/ = TImage::kUnknown ) {}
@@ -255,9 +255,9 @@ friend TImage operator/(const TImage &i1, const TImage &s2);
255255 TImage &operator +=(const TImage &i) { Append (&i, " +" ); return *this ; }
256256 TImage &operator /=(const TImage &i) { Append (&i, " /" ); return *this ; }
257257
258- virtual void ls (Option_t *option=" " ) const ;
258+ void ls (Option_t *option=" " ) const override ;
259259
260- ClassDef (TImage,1 ) // Abstract image class
260+ ClassDefOverride (TImage,1 ) // Abstract image class
261261};
262262
263263
You can’t perform that action at this time.
0 commit comments