commit | 36075ab77bbe0c38287af70d7fbf4ee46e7e06fa | [log] [tgz] |
---|---|---|
author | Jan Kundrát <jan.kundrat@cesnet.cz> | Tue Feb 05 20:42:15 2019 +0100 |
committer | Jan Kundrát <jan.kundrat@cesnet.cz> | Tue Feb 05 21:03:29 2019 +0100 |
tree | 22d9932316d6cf3132199acdc08082bd6fac23ce | |
parent | bd17836763fe02ee68fe40543d47642c9f06aa95 [diff] |
Fix includes for GCC 8.2 Here's what the compiler from Linaro ((GNU Toolchain for the A-profile Architecture 8.2-2018.11 (arm-rel-8.26)) 8.2.1 20180802) says: In file included from src/datastore_access.cpp:9: src/datastore_access.hpp:22:18: error: 'map' in namespace 'std' does not name a template type virtual std::map<std::string, leaf_data_> getItems(const std::string& path) = 0; ^~~ src/datastore_access.hpp:22:13: note: 'std::map' is defined in header '<map>'; did you forget to '#include <map>'? src/datastore_access.hpp:13:1: +#include <map> src/datastore_access.hpp:22:13: virtual std::map<std::string, leaf_data_> getItems(const std::string& path) = 0; ^~~ Change-Id: If469110df031b5bf2e94c82d520838886541f31d
Copyright © Faculty of Information Technology, Czech Technical University in Prague, https://fit.cvut.cz/ . Copyright © CESNET, https://www.cesnet.cz/ . Most of the code was written by Václav Kubernát (FIT ČVUT) and Jan Kundrát (CESNET). The project is distributed under the terms of the Apache 2.0 license.