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 <fc/utility.hpp>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
namespace fc {
|
namespace fc {
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
|
|
@ -56,7 +55,6 @@ namespace fc {
|
||||||
optional& operator=( U&& u )
|
optional& operator=( U&& u )
|
||||||
{
|
{
|
||||||
reset();
|
reset();
|
||||||
fprintf( stderr, "optional==(U&&)...\n" );
|
|
||||||
new (ptr()) T( fc::forward<U>(u) );
|
new (ptr()) T( fc::forward<U>(u) );
|
||||||
_valid = true;
|
_valid = true;
|
||||||
return *this;
|
return *this;
|
||||||
|
|
@ -115,7 +113,6 @@ namespace fc {
|
||||||
{
|
{
|
||||||
if( _valid )
|
if( _valid )
|
||||||
{
|
{
|
||||||
fprintf( stderr, "optiona::reset %p\n", this );
|
|
||||||
ref().~T(); // cal destructor
|
ref().~T(); // cal destructor
|
||||||
}
|
}
|
||||||
_valid = false;
|
_valid = false;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue