|
From: <tho...@us...> - 2014-04-08 06:41:29
|
Revision: 545
http://sourceforge.net/p/cgreen/code/545
Author: thomasnilsson
Date: 2014-04-08 06:41:22 +0000 (Tue, 08 Apr 2014)
Log Message:
-----------
Fixed a compilation problem on MacOSX (native lcc)
Modified Paths:
--------------
trunk/cgreen/include/cgreen/cpp_constraint.h
Modified: trunk/cgreen/include/cgreen/cpp_constraint.h
===================================================================
--- trunk/cgreen/include/cgreen/cpp_constraint.h 2014-04-07 04:41:55 UTC (rev 544)
+++ trunk/cgreen/include/cgreen/cpp_constraint.h 2014-04-08 06:41:22 UTC (rev 545)
@@ -9,8 +9,9 @@
template<typename T>
class CppConstraint : public Constraint {
- T expected_real_value;
- bool (*compare)(CppConstraint *, T);
+ public:
+ T expected_real_value;
+ bool (*compare)(CppConstraint *, T);
};
Constraint *create_equal_to_string_constraint(const std::string& expected_value, const char *expected_value_name);
@@ -48,7 +49,7 @@
constraint->expected_value = expected_value;
constraint->expected_value_name = expected_value_name;
constraint->size_of_expected_value = sizeof(intptr_t);
- constraint->real_expected_value = expected_value;
+ constraint->expected_real_value = expected_value;
return constraint;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|