diff --git a/src/core/math/ParserOMP.h b/src/core/math/ParserOMP.h index 3c270f0d92d675062e438cfe0bd301e0f71a00fb..7a3939e18f74245a9fcef2459adedf9274c7d678 100644 --- a/src/core/math/ParserOMP.h +++ b/src/core/math/ParserOMP.h @@ -22,8 +22,8 @@ #pragma once #include "Parser.h" -#include <boost/shared_array.hpp> +#include <memory> namespace walberla { namespace math { @@ -39,7 +39,7 @@ public: inline bool symbolExists(const std::string & symbol) const { return parser_[0].symbolExists(symbol); } private: - boost::shared_array<FunctionParser> parser_; + std::unique_ptr< FunctionParser[] > parser_; #ifndef NDEBUG int num_parsers_; #endif