Skip to content

Commit 9df55ba

Browse files
committed
Removed debug messages and last mod date
1 parent dd94021 commit 9df55ba

6 files changed

Lines changed: 0 additions & 21 deletions

File tree

include/property_list.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// Purpose: Key-value storage class with support for access order of insertion.
44
// Author: Piotr Likus
55
// Created: 01/09/2015
6-
// Last change: 12/09/2015
76
// License: BSD
87
//----------------------------------------------------------------------------------
98

include/xnode.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// Purpose: Union-like dynamic data type able to store any scalar or structure.
44
// Author: Piotr Likus
55
// Created: 01/09/2015
6-
// Last change: 12/09/2015
76
// License: BSD
87
//----------------------------------------------------------------------------------
98

include/xnode_long_double.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,28 +36,22 @@ class xnode_caster<double, xnode_ld_cast_policy> : xnode_caster_base {
3636
typedef double ValueType;
3737

3838
static bool cast_to_value(ValueType &output, void **storage, int srcTypeCode) {
39-
std::cout << "DEBUG: xnode_caster<double>::cast_to_value, step 1" << std::endl;
4039
bool result = true;
4140

4241
// Special handling for long double
4342
if (srcTypeCode == xnode_type_code<long double>::value) {
44-
std::cout << "DEBUG: xnode_caster<double>::cast_to_value, step 2a" << std::endl;
4543
long double value;
4644

4745
if (xnode_storage_meta<long double>::storage_type == xstOwned) {
48-
std::cout << "DEBUG: xnode_caster<double>::cast_to_value, step 2a1" << std::endl;
4946
value = *reinterpret_cast<long double*>(*storage);
5047
} else {
5148
value = xnode_get_scalar<long double>(storage);
5249
}
5350

54-
std::cout << "DEBUG: xnode_caster<double>::cast_to_value, step 2b" << std::endl;
5551
output = static_cast<ValueType>(value);
56-
std::cout << "DEBUG: xnode_caster<double>::cast_to_value, step 2c" << std::endl;
5752
return true;
5853
}
5954

60-
std::cout << "DEBUG: xnode_caster<double>::cast_to_value, step 3" << std::endl;
6155
// For all other types, use default policy
6256
return xnode_caster<double, xnode_def_cast_policy>::cast_to_value(output, storage, srcTypeCode);
6357
}

include/xnode_type_ext.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// Purpose: utility base classes & definitions required for type extensions
44
// Author: Piotr Likus
55
// Created: 01/09/2015
6-
// Last change: 12/09/2015
76
// License: BSD
87
//----------------------------------------------------------------------------------
98

include/xnode_utils.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// Purpose: utility classes not related directly to xnode class.
44
// Author: Piotr Likus
55
// Created: 01/09/2015
6-
// Last change: 12/09/2015
76
// License: BSD
87
//----------------------------------------------------------------------------------
98

test/xnode_test.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -683,33 +683,22 @@ void TestLongDoubleWithPolicySet() {
683683
}
684684

685685
void TestLongDoubleCastWithPolicyConstruct() {
686-
std::cout << "DEBUG: TestLongDoubleCastWithPolicyConstruct step 0" << std::endl;
687686
typedef basic_xnode<xnode_ld_value_policy> xnode_ld;
688687
long double d = 12.14;
689688
xnode_ld value = xnode_ld::value_of(d);
690-
std::cout << "DEBUG: TestLongDoubleCastWithPolicyConstruct step 1" << std::endl;
691689
Assert(value.is<long double>());
692-
std::cout << "DEBUG: TestLongDoubleCastWithPolicyConstruct step 2" << std::endl;
693690
Assert(value.get_as<long double>() > 0.0);
694-
std::cout << "DEBUG: TestLongDoubleCastWithPolicyConstruct step 3" << std::endl;
695691
Assert(value.get_as<double>() > 0.0);
696-
std::cout << "DEBUG: TestLongDoubleCastWithPolicyConstruct step 4" << std::endl;
697692
}
698693

699694
void TestLongDoubleCastWithPolicySet() {
700-
std::cout << "DEBUG: TestLongDoubleCastWithPolicySet step 0" << std::endl;
701695
typedef basic_xnode<xnode_ld_value_policy> xnode_ld;
702696
long double d = 12.14;
703697
xnode_ld value;
704698
value.set_as(d);
705-
std::cout << "DEBUG: TestLongDoubleCastWithPolicySet / storage type: " << xnode_storage_meta<long double>::storage_type << std::endl;
706-
std::cout << "DEBUG: TestLongDoubleCastWithPolicySet step 1" << std::endl;
707699
Assert(value.is<long double>());
708-
std::cout << "DEBUG: TestLongDoubleCastWithPolicySet step 2" << std::endl;
709700
Assert(value.get_as<long double>() > 0.0);
710-
std::cout << "DEBUG: TestLongDoubleCastWithPolicySet step 3" << std::endl;
711701
Assert(value.get_as<double>() > 0.0);
712-
std::cout << "DEBUG: TestLongDoubleCastWithPolicySet step 4" << std::endl;
713702
}
714703

715704
void TestWrongCastThrows() {

0 commit comments

Comments
 (0)