diff --git a/core/base/inc/TObject.h b/core/base/inc/TObject.h
index 0637421f9cd0b7fb8ea02624f991d7a94e00c9cf..fffa8a7714e414948a9f364116ef1cf2041708e2 100644
--- a/core/base/inc/TObject.h
+++ b/core/base/inc/TObject.h
@@ -90,7 +90,7 @@ public:
    };
 
 protected:
-   enum DeprectatedWriteOpions {
+   enum { // DeprectatedWriteOptions
       ///< Used to request that the class specific implementation of `TObject::Write`
       ///< just prepare the objects to be ready to be written but do not actually write
       ///< them into the TBuffer. This is just for example by TBufferMerger to request