Add missing unordered_map include to working_files.hh

Building 0.20181225 on FreeBSD fails with:

src/working_files.hh:89:8: error: no template named 'unordered_map' in namespace 'std'
  std::unordered_map<std::string, std::unique_ptr<WorkingFile>> files;
  ~~~~~^
src/working_files.cc:248:8: error: no member named 'unordered_map' in namespace 'std'
  std::unordered_map<uint64_t, int> hash_to_unique;
  ~~~~~^

Signed-off-by: Tobias Kortkamp <tobik@FreeBSD.org>
This commit is contained in:
Tobias Kortkamp 2018-12-25 16:38:50 +01:00
parent a9397cf614
commit e99f1b4990
No known key found for this signature in database
GPG Key ID: A4F09FB73CC51F61

View File

@ -21,6 +21,7 @@ limitations under the License.
#include <mutex> #include <mutex>
#include <optional> #include <optional>
#include <string> #include <string>
#include <unordered_map>
namespace ccls { namespace ccls {
struct WorkingFile { struct WorkingFile {