Moving the LatestTask typedef to Future.h
This commit is contained in:
parent
81811964c3
commit
ce23b5ca55
@ -26,10 +26,15 @@ namespace YouCompleteMe
|
|||||||
{
|
{
|
||||||
|
|
||||||
class Result;
|
class Result;
|
||||||
|
template< typename T > class ConcurrentLatestValue;
|
||||||
|
|
||||||
typedef boost::python::list Pylist;
|
typedef boost::python::list Pylist;
|
||||||
typedef boost::shared_ptr< std::vector< Result > > AsyncResults;
|
typedef boost::shared_ptr< std::vector< Result > > AsyncResults;
|
||||||
|
|
||||||
|
typedef ConcurrentLatestValue<
|
||||||
|
boost::shared_ptr<
|
||||||
|
boost::packaged_task< AsyncResults > > > LatestTask;
|
||||||
|
|
||||||
class Future
|
class Future
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -44,10 +44,6 @@ typedef boost::unordered_map< std::string,
|
|||||||
typedef boost::unordered_map< std::string,
|
typedef boost::unordered_map< std::string,
|
||||||
boost::shared_ptr< FilepathToCandidates > > FiletypeMap;
|
boost::shared_ptr< FilepathToCandidates > > FiletypeMap;
|
||||||
|
|
||||||
typedef ConcurrentLatestValue<
|
|
||||||
boost::shared_ptr<
|
|
||||||
boost::packaged_task< AsyncResults > > > LatestTask;
|
|
||||||
|
|
||||||
|
|
||||||
class IdentifierCompleter : boost::noncopyable
|
class IdentifierCompleter : boost::noncopyable
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user