From cd899519739e737da4507af0bd289c093aca961f Mon Sep 17 00:00:00 2001 From: Marco Bubke Date: Thu, 5 Oct 2017 19:53:22 +0200 Subject: [PATCH] Clang: Fix warning Change struct to class. Change-Id: I47d43df24d31f3bed401ca316cf80fc899f679ed Reviewed-by: Tim Jenssen --- src/plugins/clangrefactoring/sourcelocations.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/clangrefactoring/sourcelocations.h b/src/plugins/clangrefactoring/sourcelocations.h index 1eaf3fe3af8..ac13fd38abe 100644 --- a/src/plugins/clangrefactoring/sourcelocations.h +++ b/src/plugins/clangrefactoring/sourcelocations.h @@ -33,8 +33,9 @@ namespace ClangRefactoring { -struct SourceLocation +class SourceLocation { +public: SourceLocation(ClangBackEnd::FilePathId filePathId, int line, int column) : filePathId(filePathId), line(line), column(column) {}