summaryrefslogtreecommitdiffstats
path: root/src/ingen
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-12-13 01:19:10 -0500
committerDavid Robillard <d@drobilla.net>2022-12-14 18:04:27 -0500
commitfa611574101cd657a0716aaf2028b5bc852d4a8a (patch)
tree7fce4411abeaa06a5eb33ebcb13c317743d4cada /src/ingen
parent4b56cdf7a925dafd5e4ac085874d2afe294ec456 (diff)
downloadingen-fa611574101cd657a0716aaf2028b5bc852d4a8a.tar.gz
ingen-fa611574101cd657a0716aaf2028b5bc852d4a8a.tar.bz2
ingen-fa611574101cd657a0716aaf2028b5bc852d4a8a.zip
Use std::optional
Diffstat (limited to 'src/ingen')
-rw-r--r--src/ingen/ingen.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/ingen/ingen.cpp b/src/ingen/ingen.cpp
index 06d990f2..8f1233e1 100644
--- a/src/ingen/ingen.cpp
+++ b/src/ingen/ingen.cpp
@@ -35,8 +35,6 @@
#include "ingen/client/SocketClient.hpp"
#endif
-#include <boost/optional/optional.hpp>
-
#include <chrono>
#include <csignal>
#include <cstdint>
@@ -45,6 +43,7 @@
#include <iostream>
#include <memory>
#include <mutex>
+#include <optional>
#include <string>
#include <thread>
@@ -180,8 +179,8 @@ run(int argc, char** argv)
// Load a graph
if (conf.option("load").is_valid()) {
- boost::optional<raul::Path> parent;
- boost::optional<raul::Symbol> symbol;
+ std::optional<raul::Path> parent;
+ std::optional<raul::Symbol> symbol;
const Atom& path_option = conf.option("path");
if (path_option.is_valid()) {