Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
include algorithm to fix build fail (#165)
Summary: I encountered problem when I build with "ninja all" command ```bash /home/leus/prog/vrs/vrs/helpers/JobQueue.h: In member function 'void vrs::JobQueue<T>::cancelQueuedJobs(std::function<bool(const T&)>, std::function<void(const T&)>)': /home/leus/prog/vrs/vrs/helpers/JobQueue.h:118:22: error: 'remove_if' is not a member of 'std'; did you mean 'remove_cv'? 118 | auto iter = std::remove_if(queue_.begin(), queue_.end(), selector); /home/leus/prog/vrs/vrs/test/DataLayoutTest.cpp:146:42: error: 'count' was not declared in this scope 146 | size_t lineCount = static_cast<size_t>(count(json.begin(), json.end(), '\n')); ``` This PR will fix problem above. Pull Request resolved: #165 Test Plan: CI Reviewed By: hanghu Differential Revision: D65047136 Pulled By: georges-berenger fbshipit-source-id: e508623ee7ccf1b40f27df8c2cda6a703a087473
- Loading branch information