summaryrefslogtreecommitdiff
path: root/src/plugins/clangrefactoring
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@qt.io>2017-10-05 19:53:22 +0200
committerTim Jenssen <tim.jenssen@qt.io>2017-10-05 18:46:35 +0000
commitcd899519739e737da4507af0bd289c093aca961f (patch)
tree49243d67ab5affc6ff50ac6ed8a3c3a0d6903e67 /src/plugins/clangrefactoring
parentbe939a80db584aecf94fc83305cd1529f4ddb51d (diff)
downloadqt-creator-cd899519739e737da4507af0bd289c093aca961f.tar.gz
Clang: Fix warning
Change struct to class. Change-Id: I47d43df24d31f3bed401ca316cf80fc899f679ed Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/plugins/clangrefactoring')
-rw-r--r--src/plugins/clangrefactoring/sourcelocations.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/clangrefactoring/sourcelocations.h b/src/plugins/clangrefactoring/sourcelocations.h
index 1eaf3fe3af..ac13fd38ab 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)
{}