Unverified Commit da60db75 authored by Robert Kimball's avatar Robert Kimball Committed by GitHub

fix static ctor for non-trivial type (#2269)

parent 8763557d
......@@ -25,14 +25,18 @@
using namespace std;
using namespace ngraph;
static unordered_map<string, unordered_set<string>> s_blacklists;
static unordered_set<string>& get_blacklist(const string& backend)
{
static unordered_map<string, unordered_set<string>> s_blacklists;
return s_blacklists[backend];
}
string ngraph::prepend_disabled(const string& backend_name,
const string& test_name,
const string& manifest)
{
string rc = test_name;
unordered_set<string>& blacklist = s_blacklists[backend_name];
unordered_set<string>& blacklist = get_blacklist(backend_name);
if (blacklist.empty() && !manifest.empty())
{
ifstream f(manifest);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment