]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - CONTAINERS/AliCTypes.h
Removing operator new
[u/mrichter/AliRoot.git] / CONTAINERS / AliCTypes.h
index 1dffd1ae6c84d36157798a348e63ac727c8c62f1..62de2b47ad70b1b48624f38698fc4d50f3588560 100644 (file)
@@ -27,6 +27,9 @@ public:
 
 
 
+// Removed:
+// friend operator>>
+// _ClassInit_
 #define LClassDef(name,id) \
 private: \
    static TClass *fgIsA; \
@@ -38,16 +41,14 @@ public: \
    TClass *IsA() const { return name::Class(); } \
    void ShowMembers(TMemberInspector &insp, char *parent); \
    void Streamer(TBuffer &b); \
-   friend TBuffer &operator>>(TBuffer &buf, name *&obj); \
-   _ClassInit_(name) \
    static const char *DeclFileName() { return __FILE__; } \
    static int DeclFileLine() { return __LINE__; } \
    static const char *ImplFileName(); \
    static int ImplFileLine();  \
-   void    *operator new(size_t sz) { return TStorage::ObjectAlloc(sz); } \
-   void    *operator new(size_t sz, void *vp) { return vp; } \
    void  Dump();
 
+//static int ImplFileLine(){return 0;}  
+
 #define LClassImp(name)  \
   void name::Dump() { \
      char parent[256]; \