Replaced all uses of DISALLOW_COPY_AND_ASSIGN macro

Change-Id: I8371beb286a20d4c7619aab226136569fdefafef
This commit is contained in:
Tyler Veness
2015-07-21 01:23:34 -07:00
parent eb7d55fd59
commit 3bbeccfbb5
22 changed files with 70 additions and 41 deletions

View File

@@ -21,6 +21,10 @@ class Error {
typedef int32_t Code;
Error() = default;
Error(const Error&) = delete;
Error& operator=(const Error&) = delete;
void Clone(const Error& error);
Code GetCode() const;
std::string GetMessage() const;
@@ -44,6 +48,4 @@ class Error {
uint32_t m_lineNumber = 0;
const ErrorBase* m_originatingObject = nullptr;
double m_timestamp = 0.0;
DISALLOW_COPY_AND_ASSIGN(Error);
};