mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-15 00:42:20 +00:00
add 'noexcept' to two functions.
This commit is contained in:
parent
633c09a3bb
commit
aec7feb48a
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue