// Use of this source code is governed by an apache 2.0 license that can be
// found in the LICENSE file.
-#include <boost/optional/optional.hpp>
-
#include <cstring>
+#include <optional>
#include <string>
#include <tuple>
namespace {
-boost::optional<std::string> CheckArgs(const char* pkgid) {
+std::optional<std::string> CheckArgs(const char* pkgid) {
if (!pkgid)
return std::string("Package id is null for tag plugin");
if (strcmp(pkgid, ci::kTestPackageId) != 0)
return {};
}
-boost::optional<std::string> CheckArgs(xmlDocPtr doc, const char* pkgid) {
+std::optional<std::string> CheckArgs(xmlDocPtr doc, const char* pkgid) {
if (!doc)
return std::string("XML doc pointer is null for tag plugin");
return CheckArgs(pkgid);