diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2009-09-15 13:47:06 -0300 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2009-09-15 13:52:06 -0300 |
commit | 7f55b8c2f579753ffaff6ef4d75e0dbc7fd9da34 (patch) | |
tree | e767348ea6a46c9bf17c46aada0f072a4e5dbb4d /tests/samplebinding/oddbool_conversions.h | |
parent | 1d811177537207ff0df63985ca4e071c8908a630 (diff) |
Removed useless ValueHolder template.
Diffstat (limited to 'tests/samplebinding/oddbool_conversions.h')
-rw-r--r-- | tests/samplebinding/oddbool_conversions.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/samplebinding/oddbool_conversions.h b/tests/samplebinding/oddbool_conversions.h index 726b008c8..2e3f26414 100644 --- a/tests/samplebinding/oddbool_conversions.h +++ b/tests/samplebinding/oddbool_conversions.h @@ -1,9 +1,9 @@ template <> struct Converter<OddBool> { - static PyObject* toPython(ValueHolder<OddBool> holder) + static PyObject* toPython(OddBool holder) { - return PyBool_FromLong(holder.value.value()); + return PyBool_FromLong(holder.value()); } static OddBool toCpp(PyObject* pyobj) { |