diff --git a/Data/samples/TypeHandler/src/TypeHandler.cpp b/Data/samples/TypeHandler/src/TypeHandler.cpp index bda92bc10..0d7dd6a96 100644 --- a/Data/samples/TypeHandler/src/TypeHandler.cpp +++ b/Data/samples/TypeHandler/src/TypeHandler.cpp @@ -1,7 +1,7 @@ // // Binding.cpp // -// $Id: //poco/Main/Data/samples/TypeHandler/src/TypeHandler.cpp#1 $ +// $Id: //poco/Main/Data/samples/TypeHandler/src/TypeHandler.cpp#2 $ // // This sample demonstrates the Data library. // @@ -51,11 +51,11 @@ public: return 3; } - static void bind(std::size_t pos, const Person& person, AbstractBinder* pBinder) + static void bind(std::size_t pos, const Person& person, AbstractBinder* pBinder, AbstractBinder::Direction dir) { - TypeHandler::bind(pos++, person.name, pBinder); - TypeHandler::bind(pos++, person.address, pBinder); - TypeHandler::bind(pos++, person.age, pBinder); + TypeHandler::bind(pos++, person.name, pBinder, dir); + TypeHandler::bind(pos++, person.address, pBinder, dir); + TypeHandler::bind(pos++, person.age, pBinder, dir); } static void extract(std::size_t pos, Person& person, const Person& deflt, AbstractExtractor* pExtr)