diff options
author | Peter Keresztes Schmidt <carbenium@outlook.com> | 2020-07-15 10:22:29 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2022-01-23 18:05:59 +0100 |
commit | 770fbcca0cae18faac981a326d73996afc20b9ba (patch) | |
tree | 2e173ff2e397e56975cb37a10ec11119ec3af41f /src/common/Utilities/OptionalFwd.h | |
parent | cd86a015c46f8da581f86857e313d9c596dba7fa (diff) |
Core/Misc: Replace boost::optional with std::optional (#25047)
C++17 is already mandatory, so it's a safe thing to do
(cherry picked from commit 202fd41389973322f63186fd8e5a368fce3e1b04)
Diffstat (limited to 'src/common/Utilities/OptionalFwd.h')
-rw-r--r-- | src/common/Utilities/OptionalFwd.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/common/Utilities/OptionalFwd.h b/src/common/Utilities/OptionalFwd.h deleted file mode 100644 index 516ebeb772e..00000000000 --- a/src/common/Utilities/OptionalFwd.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * This file is part of the TrinityCore Project. See AUTHORS file for Copyright information - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the - * Free Software Foundation; either version 2 of the License, or (at your - * option) any later version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along - * with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#ifndef OptionalFwd_h__ -#define OptionalFwd_h__ - -namespace boost -{ - template <class T> - class optional; -} - -//! Optional helper class to wrap optional values within. -template <class T> -using Optional = boost::optional<T>; - -#endif // OptionalFwd_h__ |