diff options
-rw-r--r-- | win32/PlatWin.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 380389f2f..c1cd38f71 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -448,6 +448,9 @@ void Font::Release() { template<typename T, int lengthStandard> class VarBuffer { T bufferStandard[lengthStandard]; + // Private so VarBuffer objects can not be copied + VarBuffer(const VarBuffer &); + VarBuffer &operator=(const VarBuffer &); public: T *buffer; VarBuffer(size_t length) : buffer(0) { |