Moving the Result.h include out of Candidate.h

This commit is contained in:
Strahinja Val Markovic 2012-09-06 11:37:22 -07:00
parent 04991d874d
commit fc3bc60fae
5 changed files with 6 additions and 2 deletions

View File

@ -17,6 +17,7 @@
#include "standard.h" #include "standard.h"
#include "Candidate.h" #include "Candidate.h"
#include "Result.h"
#include <cctype> #include <cctype>
#include <boost/algorithm/string.hpp> #include <boost/algorithm/string.hpp>

View File

@ -18,9 +18,7 @@
#ifndef CANDIDATE_H_R5LZH6AC #ifndef CANDIDATE_H_R5LZH6AC
#define CANDIDATE_H_R5LZH6AC #define CANDIDATE_H_R5LZH6AC
// TODO can be moved to cpp?
#include "LetterNode.h" #include "LetterNode.h"
#include "Result.h"
#include <boost/scoped_ptr.hpp> #include <boost/scoped_ptr.hpp>
#include <boost/utility.hpp> #include <boost/utility.hpp>
@ -31,6 +29,8 @@
namespace YouCompleteMe namespace YouCompleteMe
{ {
class Result;
typedef std::bitset< NUM_LETTERS > Bitset; typedef std::bitset< NUM_LETTERS > Bitset;
Bitset LetterBitsetFromString( const std::string &text ); Bitset LetterBitsetFromString( const std::string &text );

View File

@ -17,6 +17,7 @@
#include "ClangCompleter.h" #include "ClangCompleter.h"
#include "exceptions.h" #include "exceptions.h"
#include "Result.h"
#include "Candidate.h" #include "Candidate.h"
#include "TranslationUnit.h" #include "TranslationUnit.h"
#include "standard.h" #include "standard.h"

View File

@ -19,6 +19,7 @@
#include "standard.h" #include "standard.h"
#include "CandidateRepository.h" #include "CandidateRepository.h"
#include "Candidate.h" #include "Candidate.h"
#include "Result.h"
#include "Utils.h" #include "Utils.h"
#include "IdentifierUtils.h" #include "IdentifierUtils.h"

View File

@ -17,6 +17,7 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Candidate.h" #include "Candidate.h"
#include "Result.h"
namespace YouCompleteMe namespace YouCompleteMe
{ {