Skip to content

Commit

Permalink
make ParmParse prefixedName public
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSinn committed Aug 1, 2024
1 parent ac5dde3 commit d338063
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Src/Base/AMReX_ParmParse.H
Original file line number Diff line number Diff line change
Expand Up @@ -1153,10 +1153,14 @@ public:

static std::string ParserPrefix;

protected:

/**
* \brief Prepend the prefix that this ParmParse object was constructed with to str.
* It is a run-time error if str is empty.
*/
[[nodiscard]] std::string prefixedName (const std::string_view& str) const;

protected:

std::string m_prefix; // Prefix used in keyword search
std::string m_parser_prefix; // Prefix used by Parser
Table* m_table;
Expand Down

0 comments on commit d338063

Please sign in to comment.