Replacing a header file with a forward decl
This commit is contained in:
parent
be0085aca9
commit
dad2fc31bb
@ -18,8 +18,6 @@
|
|||||||
#ifndef COMPLETER_H_7AR4UGXE
|
#ifndef COMPLETER_H_7AR4UGXE
|
||||||
#define COMPLETER_H_7AR4UGXE
|
#define COMPLETER_H_7AR4UGXE
|
||||||
|
|
||||||
// TODO: can we remove the inclusion of Candidate.h now?
|
|
||||||
#include "Candidate.h"
|
|
||||||
#include "ConcurrentLatestValue.h"
|
#include "ConcurrentLatestValue.h"
|
||||||
#include "Future.h"
|
#include "Future.h"
|
||||||
|
|
||||||
@ -34,12 +32,9 @@
|
|||||||
namespace YouCompleteMe
|
namespace YouCompleteMe
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Candidate;
|
||||||
class CandidateRepository;
|
class CandidateRepository;
|
||||||
|
|
||||||
// candidate text string -> candidate objects
|
|
||||||
// typedef boost::unordered_map< std::string, const Candidate* >
|
|
||||||
// CandidateRepository;
|
|
||||||
|
|
||||||
// filepath -> *( *candidate )
|
// filepath -> *( *candidate )
|
||||||
typedef boost::unordered_map< std::string,
|
typedef boost::unordered_map< std::string,
|
||||||
boost::shared_ptr< std::list< const Candidate* > > >
|
boost::shared_ptr< std::list< const Candidate* > > >
|
||||||
|
Loading…
Reference in New Issue
Block a user