remove print statments
This commit is contained in:
parent
7e61059806
commit
4307054c9c
1 changed files with 0 additions and 3 deletions
|
|
@ -2,7 +2,6 @@
|
|||
#include <fc/utility.hpp>
|
||||
#include <assert.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
namespace fc {
|
||||
#ifdef _MSC_VER
|
||||
|
|
@ -56,7 +55,6 @@ namespace fc {
|
|||
optional& operator=( U&& u )
|
||||
{
|
||||
reset();
|
||||
fprintf( stderr, "optional==(U&&)...\n" );
|
||||
new (ptr()) T( fc::forward<U>(u) );
|
||||
_valid = true;
|
||||
return *this;
|
||||
|
|
@ -115,7 +113,6 @@ namespace fc {
|
|||
{
|
||||
if( _valid )
|
||||
{
|
||||
fprintf( stderr, "optiona::reset %p\n", this );
|
||||
ref().~T(); // cal destructor
|
||||
}
|
||||
_valid = false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue