Replace boost::optional with std::optional (#4877)
This commit is contained in:
+4
-3
@@ -2,9 +2,10 @@
|
||||
|
||||
#include "common/WindowDescriptors.hpp"
|
||||
|
||||
#include <boost/optional.hpp>
|
||||
#include <QApplication>
|
||||
|
||||
#include <optional>
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
/// Command line arguments passed to Chatterino.
|
||||
@@ -18,12 +19,12 @@ public:
|
||||
bool shouldRunBrowserExtensionHost{};
|
||||
// Shows a single chat. Used on windows to embed in another application.
|
||||
bool isFramelessEmbed{};
|
||||
boost::optional<unsigned long long> parentWindowId{};
|
||||
std::optional<unsigned long long> parentWindowId{};
|
||||
|
||||
// Not settings directly
|
||||
bool dontSaveSettings{};
|
||||
bool dontLoadMainWindow{};
|
||||
boost::optional<WindowLayout> customChannelLayout;
|
||||
std::optional<WindowLayout> customChannelLayout;
|
||||
bool verbose{};
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user