From 8d6fecdf83984625b9bc6d010a6a00ee670af344 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 31 Jan 2013 00:39:49 -0600 Subject: Rename KShared --- lib/cppparser/ast.h | 4 ++-- lib/cppparser/driver.h | 2 +- lib/cppparser/lexercache.h | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/cppparser') diff --git a/lib/cppparser/ast.h b/lib/cppparser/ast.h index e062d077..9051018a 100644 --- a/lib/cppparser/ast.h +++ b/lib/cppparser/ast.h @@ -1553,10 +1553,10 @@ private: }; -class TranslationUnitAST: public AST, public KShared +class TranslationUnitAST: public AST, public TDEShared { public: - typedef KSharedPtr Node; + typedef TDESharedPtr Node; enum { Type = NodeType_TranslationUnit }; DECLARE_ALLOC( TranslationUnitAST ) diff --git a/lib/cppparser/driver.h b/lib/cppparser/driver.h index 71e0f2d7..5e101839 100644 --- a/lib/cppparser/driver.h +++ b/lib/cppparser/driver.h @@ -52,7 +52,7 @@ enum typedef TQPair Dependence; class ParsedFile; -typedef KSharedPtr< ParsedFile > ParsedFilePointer; +typedef TDESharedPtr< ParsedFile > ParsedFilePointer; class ParsedFile : public AbstractParseResult { public: diff --git a/lib/cppparser/lexercache.h b/lib/cppparser/lexercache.h index c1aac432..4d3783c7 100644 --- a/lib/cppparser/lexercache.h +++ b/lib/cppparser/lexercache.h @@ -28,7 +28,7 @@ class LexerCache; -class CachedLexedFile : public KShared, public CacheNode { +class CachedLexedFile : public TDEShared, public CacheNode { public: ///@todo add and manage the set of included files CachedLexedFile( const HashedString& fileName, LexerCache* manager ); @@ -107,7 +107,7 @@ class CachedLexedFile : public KShared, public CacheNode { */ }; -typedef KSharedPtr CachedLexedFilePointer; +typedef TDESharedPtr CachedLexedFilePointer; struct CachedLexedFilePointerCompare { bool operator() ( const CachedLexedFilePointer& lhs, const CachedLexedFilePointer& rhs ) const { -- cgit v1.2.1