diff options
author | Peter Keresztes Schmidt <carbenium@outlook.com> | 2020-07-15 10:22:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-15 10:22:29 +0200 |
commit | 202fd41389973322f63186fd8e5a368fce3e1b04 (patch) | |
tree | 61650c3cf7ec62a142b250a59562063c7ef1d8a5 /src/common/Utilities/OptionalFwd.h | |
parent | ce1e2c0f9b4f80e1fa5c448ee12fec43204a3634 (diff) |
Core/Misc: Replace boost::optional with std::optional (#25047)
C++17 is already mandatory, so it's a safe thing to do
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__ |