diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/file.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file.cc b/src/file.cc index 36102f72..1ee11bf5 100644 --- a/src/file.cc +++ b/src/file.cc @@ -82,7 +82,7 @@ File::File(File&& other) File& File::operator=(File&& other) { - if (*this != other) { + if (this != &other) { close(); _file = other._file; _open_error = other._open_error; |
