Fix build failures in Ubuntu 21.10 (#22952)

* Fix compile on Ubuntu 21.10

* Add missing c++17 optional refs in ui
old-commit-hash: 61f9b3e653b08900e6a5011320f383efbe443c14
This commit is contained in:
Jason Shuler
2021-11-17 12:59:36 -05:00
committed by GitHub
parent fd3140fd6f
commit 6e92ec1cf2
3 changed files with 4 additions and 0 deletions
+1
View File
@@ -189,6 +189,7 @@ env = Environment(
"-Wno-inconsistent-missing-override",
"-Wno-c99-designator",
"-Wno-reorder-init-list",
"-Wno-error=unused-but-set-variable",
] + cflags + ccflags,
CPPPATH=cpppath + [
+2
View File
@@ -1,5 +1,7 @@
#pragma once
#include <optional>
#include <QThread>
#include <QGeoCoordinate>
#include <QGeoManeuver>
+1
View File
@@ -3,6 +3,7 @@
#include <map>
#include <memory>
#include <string>
#include <optional>
#include <QObject>
#include <QTimer>