forked from boostorg/assert
Merge branch 'develop' into feature/gha
This commit is contained in:
@ -12,6 +12,7 @@
|
|||||||
#include <boost/cstdint.hpp>
|
#include <boost/cstdint.hpp>
|
||||||
#include <iosfwd>
|
#include <iosfwd>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include <cstdio>
|
||||||
|
|
||||||
namespace boost
|
namespace boost
|
||||||
{
|
{
|
||||||
@ -71,12 +72,12 @@ public:
|
|||||||
|
|
||||||
char buffer[ 16 ];
|
char buffer[ 16 ];
|
||||||
|
|
||||||
sprintf( buffer, ":%ld", static_cast<long>( line() ) );
|
std::sprintf( buffer, ":%ld", static_cast<long>( line() ) );
|
||||||
r += buffer;
|
r += buffer;
|
||||||
|
|
||||||
if( column() )
|
if( column() )
|
||||||
{
|
{
|
||||||
sprintf( buffer, ":%ld", static_cast<long>( column() ) );
|
std::sprintf( buffer, ":%ld", static_cast<long>( column() ) );
|
||||||
r += buffer;
|
r += buffer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user