From 04e8b332bb4a478b5d9ab83b70c3982af3b85be3 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Thu, 29 May 2014 23:12:04 +0300 Subject: Unify Utils::ChangeSet usages * Remove using Utils::ChangeSet from header files * Remove unused typedef for Range * Add it only in source files that contain many occurrences Change-Id: I60a8b77e2d5a46431507f53b6d60186d511ccf30 Reviewed-by: Nikolai Kosjar --- src/plugins/cpptools/cpppointerdeclarationformatter.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/plugins/cpptools/cpppointerdeclarationformatter.h') diff --git a/src/plugins/cpptools/cpppointerdeclarationformatter.h b/src/plugins/cpptools/cpppointerdeclarationformatter.h index 4fc15b659c..02b5d5c83c 100644 --- a/src/plugins/cpptools/cpppointerdeclarationformatter.h +++ b/src/plugins/cpptools/cpppointerdeclarationformatter.h @@ -39,9 +39,6 @@ namespace CppTools { using namespace CPlusPlus; using namespace CppTools; -using Utils::ChangeSet; - -typedef Utils::ChangeSet::Range Range; /*! \class CppTools::PointerDeclarationFormatter @@ -85,7 +82,7 @@ public: Returns a ChangeSet for applying the formatting changes. The ChangeSet is empty if it was not possible to rewrite anything. */ - ChangeSet format(AST *ast) + Utils::ChangeSet format(AST *ast) { if (ast) accept(ast); @@ -119,7 +116,7 @@ private: Overview &m_overview; const CursorHandling m_cursorHandling; - ChangeSet m_changeSet; + Utils::ChangeSet m_changeSet; }; } // namespace CppTools -- cgit v1.2.1