Replacing a header file with a forward decl

This commit is contained in:
Strahinja Val Markovic 2012-07-11 22:10:37 -07:00
parent be0085aca9
commit dad2fc31bb

View File

@ -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* > > >