/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2015,2018, by the GROMACS development team, led by
+ * Copyright (c) 2015,2018,2019, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include "textblockmatchers.h"
-#include "gromacs/compat/make_unique.h"
+#include <memory>
+
#include "gromacs/utility/gmxregex.h"
#include "gromacs/utility/stringstream.h"
#include "gromacs/utility/textreader.h"
TextBlockMatcherPointer ExactTextMatch::createMatcher() const
{
- return TextBlockMatcherPointer(compat::make_unique<ExactTextMatcher>());
+ return TextBlockMatcherPointer(std::make_unique<ExactTextMatcher>());
}
TextBlockMatcherPointer NoTextMatch::createMatcher() const
{
- return TextBlockMatcherPointer(compat::make_unique<NoTextMatcher>());
+ return TextBlockMatcherPointer(std::make_unique<NoTextMatcher>());
}
void FilteringExactTextMatch::addRegexToSkip(const std::string &lineToSkip)
TextBlockMatcherPointer FilteringExactTextMatch::createMatcher() const
{
- return TextBlockMatcherPointer(compat::make_unique<FilteringExactTextMatcher>(linesToSkip_));
+ return TextBlockMatcherPointer(std::make_unique<FilteringExactTextMatcher>(linesToSkip_));
}
} // namespace test