Replace boost::optional with std::optional (#4877)
This commit is contained in:
@@ -3,11 +3,10 @@
|
||||
#include "common/Aliases.hpp"
|
||||
#include "messages/ImageSet.hpp"
|
||||
|
||||
#include <boost/optional.hpp>
|
||||
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
#include <optional>
|
||||
#include <unordered_map>
|
||||
|
||||
namespace chatterino {
|
||||
@@ -24,7 +23,7 @@ struct Emote {
|
||||
* If this emote is aliased, this contains
|
||||
* the original (base) name of the emote.
|
||||
*/
|
||||
boost::optional<EmoteName> baseName;
|
||||
std::optional<EmoteName> baseName;
|
||||
|
||||
// FOURTF: no solution yet, to be refactored later
|
||||
const QString &getCopyString() const
|
||||
|
||||
Reference in New Issue
Block a user