diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bf415cb5..9640d766 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,7 @@ on: env: UBSAN_OPTIONS: print_stacktrace=1 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true jobs: posix: diff --git a/test/optional_test_constructors.cpp b/test/optional_test_constructors.cpp index e3483a69..60e6bb15 100644 --- a/test/optional_test_constructors.cpp +++ b/test/optional_test_constructors.cpp @@ -27,7 +27,7 @@ struct MyBool struct MyExplicitBool { bool b; - MyExplicitBool (bool b) : b(b) {} + explicit MyExplicitBool (bool b) : b(b) {} operator bool() const { return b; }; };