add 'noexcept' to two functions.

This commit is contained in:
Christoph Oelckers 2023-12-16 11:48:08 +01:00
parent 633c09a3bb
commit aec7feb48a

View file

@ -206,13 +206,13 @@ public:
FileReader() {}
FileReader(FileReader &&r)
FileReader(FileReader &&r) noexcept
{
mReader = r.mReader;
r.mReader = nullptr;
}
FileReader& operator =(FileReader &&r)
FileReader& operator =(FileReader &&r) noexcept
{
Close();
mReader = r.mReader;