opm-simulators/opm/core/linalg
Markus Blatt b791d0743b Use operator[] to populize unordered_map with string as the key
g++-4.4 has problems converting const char* to char*
which it thinks is needed for constructing std::string.
Using operator[] circumvents this problem.

The compiler error fixed here was:
/usr/include/c++/4.4/bits/stl_pair.h: In constructor ‘std::pair<_T1, _T2>::pair(std::pair<_U1, _U2>&&) [with _U1 = const char*, _U2 = const char*, _T1 = const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _T2 = char*]’:
/home/mblatt/src/dune/opm/opm-core/opm/core/linalg/LinearSolverPetsc.cpp:40:   instantiated from here
/usr/include/c++/4.4/bits/stl_pair.h:107: error: invalid conversion from ‘const char*’ to ‘char*’
make[2]: *** [CMakeFiles/opmcore.dir/opm/core/linalg/LinearSolverPetsc.cpp.o] Fehler 1
2015-04-13 10:58:31 +02:00
..
call_umfpack.c Remove subdirectory from SuiteSparse include 2013-08-25 09:35:51 +02:00
call_umfpack.h Moved code from opmcore/ to opm/core/ 2011-12-12 11:13:54 +01:00
LinearSolverFactory.cpp Add HAVE_PETSC macro. 2014-07-08 10:58:39 +08:00
LinearSolverFactory.hpp Add HAVE_PETSC macro. 2014-07-08 10:58:39 +08:00
LinearSolverInterface.cpp make config.h the first header to be included in any compile unit 2013-04-10 12:56:14 +02:00
LinearSolverInterface.hpp Added support for the parallel solvers of dune-istl. 2014-03-20 21:59:29 +01:00
LinearSolverIstl.cpp [fixup] Use the correct function. 2015-02-13 11:00:28 +01:00
LinearSolverIstl.hpp Moved ISTL right and left hand side construction for ISTL to solveSystem 2014-03-25 09:58:07 +01:00
LinearSolverPetsc.cpp Use operator[] to populize unordered_map with string as the key 2015-04-13 10:58:31 +02:00
LinearSolverPetsc.hpp Makes using wrong constructor a compile-time error 2014-10-14 14:43:42 +02:00
LinearSolverUmfpack.cpp Added support for the parallel solvers of dune-istl. 2014-03-20 21:59:29 +01:00
LinearSolverUmfpack.hpp Added support for the parallel solvers of dune-istl. 2014-03-20 21:59:29 +01:00
ParallelIstlInformation.hpp Prevents unsigned-signed-comparison warnings for container with signed size. 2015-02-19 09:13:39 +01:00
sparse_sys.c make config.h the first header to be included in any compile unit 2013-04-10 12:56:14 +02:00
sparse_sys.h Anchor Doxygen comments to current line. 2012-06-26 11:44:30 +02:00