mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +00:00
[muparser] Remove some OpenMP / "bulk mode" detritus
This commit is contained in:
parent
fdefabdb1d
commit
3ed9c851a3
2 changed files with 1 additions and 5 deletions
|
@ -79,9 +79,6 @@ class ParserBase {
|
|||
/** \brief Type used for parser tokens. */
|
||||
typedef ParserToken<value_type, string_type> token_type;
|
||||
|
||||
/** \brief Maximum number of threads spawned by OpenMP when using the bulk mode. */
|
||||
static const int s_MaxNumOpenMPThreads = 16;
|
||||
|
||||
public:
|
||||
/** \brief Type of the error class.
|
||||
|
||||
|
@ -235,7 +232,6 @@ class ParserBase {
|
|||
|
||||
ValueOrError ParseString() const;
|
||||
ValueOrError ParseCmdCode() const;
|
||||
ValueOrError ParseCmdCodeBulk(int nOffset, int nThreadID) const;
|
||||
ValueOrError InvokeFunction(generic_fun_type func, const value_type *args, int argCount) const;
|
||||
|
||||
OptionalError CheckName(const string_type &a_strName, const string_type &a_CharSet) const;
|
||||
|
|
|
@ -1216,7 +1216,7 @@ OptionalError ParserBase::CreateRPN() const {
|
|||
|
||||
if (stVal.top().GetType() != tpDBL) return Error(ecSTR_RESULT);
|
||||
|
||||
m_vStackBuffer.resize(m_vRPN.GetMaxStackSize() * s_MaxNumOpenMPThreads);
|
||||
m_vStackBuffer.resize(m_vRPN.GetMaxStackSize());
|
||||
return {};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue