summaryrefslogtreecommitdiff
path: root/src/tools/clangbackend/ipcsource/clangfollowsymboljob.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/clangbackend/ipcsource/clangfollowsymboljob.h')
-rw-r--r--src/tools/clangbackend/ipcsource/clangfollowsymboljob.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/tools/clangbackend/ipcsource/clangfollowsymboljob.h b/src/tools/clangbackend/ipcsource/clangfollowsymboljob.h
index ce2ca4e06c..7c8391fb9b 100644
--- a/src/tools/clangbackend/ipcsource/clangfollowsymboljob.h
+++ b/src/tools/clangbackend/ipcsource/clangfollowsymboljob.h
@@ -25,8 +25,7 @@
#pragma once
-#include "clangasyncjob.h"
-#include "clangdocument.h"
+#include "clangdocumentjob.h"
#include <clangsupport/sourcerangecontainer.h>
@@ -51,16 +50,12 @@ public:
bool failedToFollow = false;
};
-class FollowSymbolJob : public AsyncJob<FollowSymbolResult>
+class FollowSymbolJob : public DocumentJob<FollowSymbolResult>
{
public:
using AsyncResult = FollowSymbolResult;
AsyncPrepareResult prepareAsyncRun() override;
void finalizeAsyncRun() override;
-
-private:
- Document m_pinnedDocument;
- FileContainer m_pinnedFileContainer;
};
} // namespace ClangBackEnd