aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2022-11-23 18:29:50 +0100
committerhjk <hjk@qt.io>2022-11-29 08:25:16 +0000
commit03a91f9f98e0b3524be1be4e9c54c7be75a6b855 (patch)
tree2c6213f9a3e43b53bcdd080759cfa23fa344e291 /src/libs
parent3694d00dce77576ff60fe8ce31d8f7fd6e546c5d (diff)
CppEditor: Remove Snapshot::remove(QString) overload
... and fix fallout. Change-Id: Ibbf865c3e4158fc98bb9b5372ce0633807b85576 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/libs')
-rw-r--r--src/libs/cplusplus/CppDocument.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libs/cplusplus/CppDocument.h b/src/libs/cplusplus/CppDocument.h
index ed5f672a63..f46de300f4 100644
--- a/src/libs/cplusplus/CppDocument.h
+++ b/src/libs/cplusplus/CppDocument.h
@@ -381,8 +381,6 @@ public:
void insert(Document::Ptr doc); // ### remove
void remove(const Utils::FilePath &fileName); // ### remove
- void remove(const QString &fileName)
- { remove(Utils::FilePath::fromString(fileName)); }
const_iterator begin() const { return _documents.begin(); }
const_iterator end() const { return _documents.end(); }