remove console spam
This commit is contained in:
parent
ddc2c16cdb
commit
3c6d7d9fe3
1 changed files with 0 additions and 3 deletions
|
|
@ -23,7 +23,6 @@ namespace fc {
|
||||||
if( str.size() <= sizeof(data) )
|
if( str.size() <= sizeof(data) )
|
||||||
memcpy( (char*)&data, str.c_str(), str.size() );
|
memcpy( (char*)&data, str.c_str(), str.size() );
|
||||||
else {
|
else {
|
||||||
wlog( "truncating string '${str}'", ("str",str) );
|
|
||||||
memcpy( (char*)&data, str.c_str(), sizeof(data) );
|
memcpy( (char*)&data, str.c_str(), sizeof(data) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -32,7 +31,6 @@ namespace fc {
|
||||||
if( l <= sizeof(data) )
|
if( l <= sizeof(data) )
|
||||||
memcpy( (char*)&data, str, l );
|
memcpy( (char*)&data, str, l );
|
||||||
else {
|
else {
|
||||||
wlog( "truncating string '${str}'", ("str",str) );
|
|
||||||
memcpy( (char*)&data, str, sizeof(data) );
|
memcpy( (char*)&data, str, sizeof(data) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -63,7 +61,6 @@ namespace fc {
|
||||||
memcpy( (char*)&data, str.c_str(), str.size() );
|
memcpy( (char*)&data, str.c_str(), str.size() );
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
wlog( "truncating string '${str}'", ("str",str) );
|
|
||||||
memcpy( (char*)&data, str.c_str(), sizeof(data) );
|
memcpy( (char*)&data, str.c_str(), sizeof(data) );
|
||||||
}
|
}
|
||||||
return *this;
|
return *this;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue