fix MSVC warnings

This commit is contained in:
2022-11-13 12:15:27 -08:00
parent 7489bad3f8
commit fb05b5a7d8
2 changed files with 2 additions and 2 deletions

View File

@@ -87,8 +87,8 @@ class StbImage final : public nf7::Node::Lambda,
}
std::shared_ptr<nf7::LoggerRef> log_;
static_assert(PureNodeFile_LoggerRef<StbImage>);
};
static_assert(PureNodeFile_LoggerRef<StbImage>);
}
} // namespace nf7

View File

@@ -205,7 +205,7 @@ class Ref::Lambda final : public Node::Lambda,
// ignore everything from others
} catch (nf7::Exception& e) {
} catch (nf7::Exception&) {
log_->Error("failed to call referencee");
Abort();
}