diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/intel-mpi-benchmarks/add_const.patch')
-rw-r--r-- | var/spack/repos/builtin/packages/intel-mpi-benchmarks/add_const.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/intel-mpi-benchmarks/add_const.patch b/var/spack/repos/builtin/packages/intel-mpi-benchmarks/add_const.patch new file mode 100644 index 0000000000..6b807f2c9d --- /dev/null +++ b/var/spack/repos/builtin/packages/intel-mpi-benchmarks/add_const.patch @@ -0,0 +1,13 @@ +diff --git a/src_cpp/args_parser.h b/src_cpp/args_parser.h +index 0a6c748..cfd6a89 100644 +--- a/src_cpp/args_parser.h ++++ b/src_cpp/args_parser.h +@@ -216,7 +216,7 @@ class args_parser { + protected: + std::set<flag_t> flags; + std::string current_group; +- std::map<std::string, std::vector<smart_ptr<option> > > expected_args; ++ std::map<const std::string, std::vector<smart_ptr<option> > > expected_args; + std::vector<std::string> unknown_args; + option *prev_option; + error_t last_error; |