Skip to content

Commit

Permalink
#2175: more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cwschilly committed Jan 5, 2024
1 parent 9477c94 commit 137fa4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/yaml-cpp/include/yaml-cpp/emitter.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ inline Emitter& Emitter::WriteIntegralType(T value) {
if (!good())
return *this;

PrepareNode(EmitterNodeType::Scalar);
PrepareNode(EmitterNodeType::value::Scalar);

std::stringstream stream;
PrepareIntegralStream(stream);
Expand All @@ -155,7 +155,7 @@ inline Emitter& Emitter::WriteStreamable(T value) {
if (!good())
return *this;

PrepareNode(EmitterNodeType::Scalar);
PrepareNode(EmitterNodeType::value::Scalar);

std::stringstream stream;
SetStreamablePrecision<T>(stream);
Expand Down

0 comments on commit 137fa4b

Please sign in to comment.