Summary: Include <map> in Public Interface

Needed to honour requirements of class Summary in isolation.  While
here, also move <unordered_map> to implementation file.
This commit is contained in:
Bård Skaflestad 2018-10-11 14:10:16 +02:00
parent ef5465dcfc
commit 8fbb93497a
2 changed files with 5 additions and 3 deletions

View File

@ -20,16 +20,17 @@
#ifndef OPM_OUTPUT_SUMMARY_HPP
#define OPM_OUTPUT_SUMMARY_HPP
#include <map>
#include <string>
#include <vector>
#include <unordered_map>
#include <ert/ecl/ecl_sum.h>
#include <opm/parser/eclipse/EclipseState/Grid/EclipseGrid.hpp>
#include <opm/output/eclipse/SummaryState.hpp>
#include <opm/output/data/Wells.hpp>
#include <opm/output/eclipse/SummaryState.hpp>
#include <opm/output/eclipse/RegionCache.hpp>
namespace Opm {

View File

@ -17,13 +17,14 @@
along with OPM. If not, see <http://www.gnu.org/licenses/>.
*/
#include <algorithm>
#include <exception>
#include <initializer_list>
#include <iterator>
#include <numeric>
#include <stdexcept>
#include <string>
#include <algorithm>
#include <unordered_map>
#include <opm/common/OpmLog/OpmLog.hpp>