Try to fix VC warning C4512

This commit is contained in:
Milo Yip 2016-04-05 23:56:50 +08:00
parent 8991037ecd
commit 35ccca8b74
2 changed files with 6 additions and 0 deletions

View File

@ -322,6 +322,8 @@ private:
//! Disallow construction from non-const array
template<SizeType N>
GenericStringRef(CharType (&str)[N]) /* = delete */;
GenericStringRef& operator=(const GenericStringRef&);
};
//! Mark a character pointer as constant string

View File

@ -84,6 +84,10 @@ public:
Ch* PutBegin() { return 0; }
size_t PutEnd(Ch*) { return 0; }
private:
EncodedInputStream(const EncodedInputStream&);
EncodedInputStream& operator=(const EncodedInputStream&);
MemoryStream& is_;
};