mirror of https://github.com/OpenTTD/OpenTTD
(svn r7163) -Codechange: Disable compilation of additional yapf code.
parent
336e0a1775
commit
5a9e70b720
|
@ -3,6 +3,7 @@
|
||||||
#ifndef AUTOCOPYPTR_HPP
|
#ifndef AUTOCOPYPTR_HPP
|
||||||
#define AUTOCOPYPTR_HPP
|
#define AUTOCOPYPTR_HPP
|
||||||
|
|
||||||
|
#if 0 // reenable when needed
|
||||||
/** CAutoCopyPtrT - kind of CoW (Copy on Write) pointer.
|
/** CAutoCopyPtrT - kind of CoW (Copy on Write) pointer.
|
||||||
* It is non-invasive smart pointer (reference counter is held outside
|
* It is non-invasive smart pointer (reference counter is held outside
|
||||||
* of Tdata).
|
* of Tdata).
|
||||||
|
@ -78,5 +79,5 @@ public:
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif /* 0 */
|
||||||
#endif /* AUTOCOPYPTR_HPP */
|
#endif /* AUTOCOPYPTR_HPP */
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
#ifndef COUNTEDPTR_HPP
|
#ifndef COUNTEDPTR_HPP
|
||||||
#define COUNTEDPTR_HPP
|
#define COUNTEDPTR_HPP
|
||||||
|
|
||||||
|
#if 0 // reenable when needed
|
||||||
/** @file CCountedPtr - smart pointer implementation */
|
/** @file CCountedPtr - smart pointer implementation */
|
||||||
|
|
||||||
/** CCountedPtr - simple reference counting smart pointer.
|
/** CCountedPtr - simple reference counting smart pointer.
|
||||||
|
@ -95,5 +96,5 @@ FORCEINLINE void CCountedPtr<Tcls_>::Assign(Tcls* pT)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* 0 */
|
||||||
#endif /* COUNTEDPTR_HPP */
|
#endif /* COUNTEDPTR_HPP */
|
||||||
|
|
Loading…
Reference in New Issue