Resolve warnings about unreferenced parameter 'style' in NullEventHandlers (#1193)

This commit is contained in:
Pete Lewis 2023-10-12 08:49:34 -07:00 committed by GitHub
parent c26e047223
commit 8106fcf1e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -20,10 +20,10 @@ class NullEventHandler : public YAML::EventHandler {
void OnScalar(const Mark&, const std::string&, anchor_t, void OnScalar(const Mark&, const std::string&, anchor_t,
const std::string&) override {} const std::string&) override {}
void OnSequenceStart(const Mark&, const std::string&, anchor_t, void OnSequenceStart(const Mark&, const std::string&, anchor_t,
YAML::EmitterStyle::value style) override {} YAML::EmitterStyle::value) override {}
void OnSequenceEnd() override {} void OnSequenceEnd() override {}
void OnMapStart(const Mark&, const std::string&, anchor_t, void OnMapStart(const Mark&, const std::string&, anchor_t,
YAML::EmitterStyle::value style) override {} YAML::EmitterStyle::value) override {}
void OnMapEnd() override {} void OnMapEnd() override {}
}; };

View File

@ -18,10 +18,10 @@ class NullEventHandler : public YAML::EventHandler {
void OnScalar(const Mark&, const std::string&, anchor_t, void OnScalar(const Mark&, const std::string&, anchor_t,
const std::string&) override {} const std::string&) override {}
void OnSequenceStart(const Mark&, const std::string&, anchor_t, void OnSequenceStart(const Mark&, const std::string&, anchor_t,
YAML::EmitterStyle::value style) override {} YAML::EmitterStyle::value) override {}
void OnSequenceEnd() override {} void OnSequenceEnd() override {}
void OnMapStart(const Mark&, const std::string&, anchor_t, void OnMapStart(const Mark&, const std::string&, anchor_t,
YAML::EmitterStyle::value style) override {} YAML::EmitterStyle::value) override {}
void OnMapEnd() override {} void OnMapEnd() override {}
}; };