diff --git a/include/llvm/Support/GraphWriter.h b/include/llvm/Support/GraphWriter.h index d48dc78cfc2..28fa92f99e0 100644 --- a/include/llvm/Support/GraphWriter.h +++ b/include/llvm/Support/GraphWriter.h @@ -149,7 +149,7 @@ public: } std::string edgeSourceLabels; - raw_string_ostream::raw_string_ostream EdgeSourceLabels(edgeSourceLabels); + raw_string_ostream EdgeSourceLabels(edgeSourceLabels); bool hasEdgeSourceLabels = getEdgeSourceLabels(EdgeSourceLabels, Node); if (hasEdgeSourceLabels) {