/*
- * Copyright (c) 2014-2020 Samsung Electronics Co., Ltd. All rights reserved.
+ * Copyright (c) 2014-2023 Samsung Electronics Co., Ltd. All rights reserved.
*
* This file is licensed under the terms of MIT License or the Apache License
* Version 2.0 of your choice. See the LICENSE.MIT file for MIT license details.
LOGW("File could not be dlopened <%s> : <%s>", path.c_str(), dlerror());
return;
}
- PluginLibPtr handlePtr(handle, std::ptr_fun(dlclose));
+ PluginLibPtr handlePtr(handle, std::function(dlclose));
//Flush any previous errors
dlerror();
/*
- * Copyright (c) 2015-2020 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015-2023 Samsung Electronics Co., Ltd All Rights Reserved
*
* This file is licensed under the terms of MIT License or the Apache License
* Version 2.0 of your choice. See the LICENSE.MIT file for MIT license details.
*/
#include <algorithm>
+#include <stdexcept>
#include <string>
#include <unordered_set>
/*
- * Copyright (c) 2015-2020 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015-2023 Samsung Electronics Co., Ltd All Rights Reserved
*
* This file is licensed under the terms of MIT License or the Apache License
* Version 2.0 of your choice. See the LICENSE.MIT file for MIT license details.
std::string err;
std::string out;
- for (const std::string &file : { "_", "buckets" }) {
+ for (const std::string &file : { std::string("_"), std::string("buckets") }) {
clearOutput();
prepare_argv({ execName, Cynara::PathConfig::testsPath + "/db3/" + file });
SCOPED_TRACE(file);
std::string err;
std::string out;
- for (const std::string &file : { "_", "buckets" }) {
+ for (const std::string &file : { std::string("_"), std::string("buckets") }) {
clearOutput();
prepare_argv({ execName, "-a", "md5", Cynara::PathConfig::testsPath + "/db3/" + file });
SCOPED_TRACE(file);
std::string err;
std::string out;
- for (const std::string &file : { "_", "buckets" }) {
+ for (const std::string &file : { std::string("_"), std::string("buckets") }) {
clearOutput();
prepare_argv({ execName, "-a", "crypt", Cynara::PathConfig::testsPath + "/db3/" + file });
SCOPED_TRACE(file);
std::string err;
std::string out;
- for (const std::string &file : { "_", "_additional", "buckets" }) {
+ for (const std::string &file : { std::string("_"), std::string("_additional"), std::string("buckets") }) {
clearOutput();
prepare_argv({ execName,
Cynara::PathConfig::testsPath + "/db6/" + file + backupFilenameSuffix });