Moving the LatestTask typedef to Future.h

This commit is contained in:
Strahinja Val Markovic 2012-07-12 20:54:40 -07:00
parent 81811964c3
commit ce23b5ca55
2 changed files with 5 additions and 4 deletions

View File

@ -26,10 +26,15 @@ namespace YouCompleteMe
{
class Result;
template< typename T > class ConcurrentLatestValue;
typedef boost::python::list Pylist;
typedef boost::shared_ptr< std::vector< Result > > AsyncResults;
typedef ConcurrentLatestValue<
boost::shared_ptr<
boost::packaged_task< AsyncResults > > > LatestTask;
class Future
{
public:

View File

@ -44,10 +44,6 @@ typedef boost::unordered_map< std::string,
typedef boost::unordered_map< std::string,
boost::shared_ptr< FilepathToCandidates > > FiletypeMap;
typedef ConcurrentLatestValue<
boost::shared_ptr<
boost::packaged_task< AsyncResults > > > LatestTask;
class IdentifierCompleter : boost::noncopyable
{