From 678bfda7d5675b91309552873850ece85c9b5890 Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 3 Jan 2013 16:04:34 +0100 Subject: [PATCH] C++: make CPlusPlus::TranslationUnit::PPLine private. It's not used otherwise. Change-Id: I926f5b3d5ea08a5768b61350f2d399eda702aad3 Reviewed-by: hjk --- src/libs/3rdparty/cplusplus/TranslationUnit.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libs/3rdparty/cplusplus/TranslationUnit.h b/src/libs/3rdparty/cplusplus/TranslationUnit.h index f6ac1959dbf..a79bcc0d0e1 100644 --- a/src/libs/3rdparty/cplusplus/TranslationUnit.h +++ b/src/libs/3rdparty/cplusplus/TranslationUnit.h @@ -136,7 +136,7 @@ public: bool maybeSplitGreaterGreaterToken(unsigned tokenIndex); -public: +private: struct PPLine { unsigned offset; unsigned line; @@ -158,7 +158,6 @@ public: { return offset < other.offset; } }; -private: unsigned findLineNumber(unsigned offset) const; unsigned findColumnNumber(unsigned offset, unsigned lineNumber) const; PPLine findPreprocessorLine(unsigned offset) const;