Skip to content

Commit

Permalink
Fix reporter test compilation
Browse files Browse the repository at this point in the history
The compilation failed with

    error: ‘setprecision’ is not a member of ‘std’

Fix by including <iomanip>.
  • Loading branch information
temeo committed May 17, 2024
1 parent e399d53 commit 664d8cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/reporter_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@

#include <boost/json/src.hpp>

#include <fstream>
#include <deque>
#include <fstream>
#include <iomanip>
#include <vector>

#include <unistd.h> // unlink() for cleanup

namespace json = boost::json;
Expand Down

0 comments on commit 664d8cc

Please sign in to comment.