More forward decls instead of includes
This commit is contained in:
parent
dad2fc31bb
commit
52b1b9f660
@ -16,6 +16,7 @@
|
|||||||
// along with YouCompleteMe. If not, see <http://www.gnu.org/licenses/>.
|
// along with YouCompleteMe. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#include "CandidateRepository.h"
|
#include "CandidateRepository.h"
|
||||||
|
#include "Candidate.h"
|
||||||
#include "standard.h"
|
#include "standard.h"
|
||||||
#include "Utils.h"
|
#include "Utils.h"
|
||||||
|
|
||||||
|
@ -18,8 +18,6 @@
|
|||||||
#ifndef CANDIDATEREPOSITORY_H_K9OVCMHG
|
#ifndef CANDIDATEREPOSITORY_H_K9OVCMHG
|
||||||
#define CANDIDATEREPOSITORY_H_K9OVCMHG
|
#define CANDIDATEREPOSITORY_H_K9OVCMHG
|
||||||
|
|
||||||
#include "Candidate.h"
|
|
||||||
|
|
||||||
#include <boost/utility.hpp>
|
#include <boost/utility.hpp>
|
||||||
#include <boost/unordered_map.hpp>
|
#include <boost/unordered_map.hpp>
|
||||||
#include <boost/thread/mutex.hpp>
|
#include <boost/thread/mutex.hpp>
|
||||||
@ -30,6 +28,8 @@
|
|||||||
namespace YouCompleteMe
|
namespace YouCompleteMe
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Candidate;
|
||||||
|
|
||||||
typedef boost::unordered_map< std::string, const Candidate* >
|
typedef boost::unordered_map< std::string, const Candidate* >
|
||||||
CandidateHolder;
|
CandidateHolder;
|
||||||
|
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
#include "IdentifierCompleter.h"
|
#include "IdentifierCompleter.h"
|
||||||
#include "standard.h"
|
#include "standard.h"
|
||||||
#include "CandidateRepository.h"
|
#include "CandidateRepository.h"
|
||||||
|
#include "Candidate.h"
|
||||||
#include "Utils.h"
|
#include "Utils.h"
|
||||||
|
|
||||||
#include <boost/bind.hpp>
|
#include <boost/bind.hpp>
|
||||||
|
Loading…
Reference in New Issue
Block a user