Merge pull request #2926 from joakim-hove/rm-fnmatch

Remove stale #include <fnamatch.h>
This commit is contained in:
Joakim Hove 2022-01-12 08:26:43 +01:00 committed by GitHub
commit 089b6bff42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,10 +17,10 @@
along with OPM. If not, see <http://www.gnu.org/licenses/>.
*/
#include <fnmatch.h>
#include <opm/common/utility/shmatch.hpp>
#include <regex>
#include <opm/common/utility/shmatch.hpp>
bool Opm::shmatch(const std::string& pattern, const std::string& symbol) {
// Shell patterns should implicitly be interpreted as anchored at beginning