aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/git/branchmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/git/branchmodel.h')
-rw-r--r--src/plugins/git/branchmodel.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/git/branchmodel.h b/src/plugins/git/branchmodel.h
index 015f57b9aa..4fa8794a7b 100644
--- a/src/plugins/git/branchmodel.h
+++ b/src/plugins/git/branchmodel.h
@@ -4,11 +4,12 @@
#pragma once
#include <utils/filepath.h>
-#include <utils/optional.h>
#include <QAbstractListModel>
#include <QVariant>
+#include <optional>
+
namespace VcsBase { class VcsCommand; }
namespace Git {
@@ -63,7 +64,7 @@ public:
QModelIndex addBranch(const QString &name, bool track, const QModelIndex &trackedBranch);
void setRemoteTracking(const QModelIndex &trackingIndex);
void setOldBranchesIncluded(bool value);
- Utils::optional<QString> remoteName(const QModelIndex &idx) const;
+ std::optional<QString> remoteName(const QModelIndex &idx) const;
void refreshCurrentBranch();
private: