From dad2fc31bb6abf25a230d284750c5416081907a2 Mon Sep 17 00:00:00 2001 From: Strahinja Val Markovic Date: Wed, 11 Jul 2012 22:10:37 -0700 Subject: [PATCH] Replacing a header file with a forward decl --- cpp/ycm/IdentifierCompleter.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/cpp/ycm/IdentifierCompleter.h b/cpp/ycm/IdentifierCompleter.h index eb785530..2028e0a9 100644 --- a/cpp/ycm/IdentifierCompleter.h +++ b/cpp/ycm/IdentifierCompleter.h @@ -18,8 +18,6 @@ #ifndef COMPLETER_H_7AR4UGXE #define COMPLETER_H_7AR4UGXE -// TODO: can we remove the inclusion of Candidate.h now? -#include "Candidate.h" #include "ConcurrentLatestValue.h" #include "Future.h" @@ -34,12 +32,9 @@ namespace YouCompleteMe { +class Candidate; class CandidateRepository; -// candidate text string -> candidate objects -// typedef boost::unordered_map< std::string, const Candidate* > -// CandidateRepository; - // filepath -> *( *candidate ) typedef boost::unordered_map< std::string, boost::shared_ptr< std::list< const Candidate* > > >