Skip to content

Commit

Permalink
Fixes build error due to lack of <ostream> include
Browse files Browse the repository at this point in the history
- Fixes #170
  • Loading branch information
tgockel committed Mar 4, 2022
1 parent ecce19f commit 4a4aac0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/jsonv/encode.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** \file
* Classes and functions for encoding JSON values to various representations.
*
*
* Copyright (c) 2014 by Travis Gockel. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify it under the terms of the Apache License
Expand All @@ -15,6 +15,7 @@
#include "detail.hpp"

#include <cmath>
#include <ostream>

namespace jsonv
{
Expand Down Expand Up @@ -66,7 +67,7 @@ void encoder::encode(const value& source)
first = false;
else
write_object_delimiter();

write_object_key(entry.first);
encode(entry.second);
}
Expand Down

0 comments on commit 4a4aac0

Please sign in to comment.