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