Skip to content

Commit 2c03035

Browse files
committed
Fix signature of to_string() with indention
1 parent 3a0be14 commit 2c03035

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/tao/json/to_string.hh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ namespace tao
2323
}
2424

2525
template< template< typename ... > class Traits >
26-
std::string to_string( const basic_value< Traits > & v, const unsigned indent, const unsigned current = 0 )
26+
std::string to_string( const basic_value< Traits > & v, const unsigned indent )
2727
{
2828
std::ostringstream o;
29-
internal::to_stream( o, v, indent, current );
29+
internal::to_stream( o, v, indent );
3030
return o.str();
3131
}
3232

0 commit comments

Comments
 (0)