summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/include/lld/Core/InputGraph.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/include/lld/Core/InputGraph.h b/lld/include/lld/Core/InputGraph.h
index 2cd0c82dc10..0d1ca64bb15 100644
--- a/lld/include/lld/Core/InputGraph.h
+++ b/lld/include/lld/Core/InputGraph.h
@@ -95,7 +95,7 @@ public:
bool dump(raw_ostream &diagnostics = llvm::errs());
InputElement &operator[](size_t index) const {
- return (*_inputArgs[index]);
+ return *_inputArgs[index];
}
/// \brief Insert an element into the input graph at position.
OpenPOWER on IntegriCloud