Corrected a debug statement
This commit is contained in:
parent
27b86a5388
commit
e6c5837b2c
1 changed files with 5 additions and 2 deletions
|
|
@ -122,8 +122,11 @@ string commodity_pool_t::make_qualified_name(const commodity_t& comm,
|
|||
comm.print(name);
|
||||
details.print(name, comm.pool().keep_base);
|
||||
|
||||
DEBUG("amounts.commodities", "make_qualified_name for "
|
||||
<< *comm.qualified_symbol << std::endl << details);
|
||||
#if defined(DEBUG_ON)
|
||||
if (comm.qualified_symbol)
|
||||
DEBUG("amounts.commodities", "make_qualified_name for "
|
||||
<< *comm.qualified_symbol << std::endl << details);
|
||||
#endif
|
||||
DEBUG("amounts.commodities", "qualified_name is " << name.str());
|
||||
|
||||
return name.str();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue