spack/var/spack/repos/builtin/packages/intel-mpi-benchmarks/add_const.patch

14 lines
515 B
Diff

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;