X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=blobdiff_plain;f=examples%2Ffind_all_pp.cpp;h=4061cd95e0bb7de453bb245e25e7218063d31eb0;hp=cf1675bd521e1b58871995ca351aabad5e5418b1;hb=fb56d9cf14f34dda2d7b154f16a0c08ad8b639f9;hpb=784b29353073a8cf9fa420876bf4bded7d56b080 diff --git a/examples/find_all_pp.cpp b/examples/find_all_pp.cpp index cf1675b..4061cd9 100644 --- a/examples/find_all_pp.cpp +++ b/examples/find_all_pp.cpp @@ -45,7 +45,8 @@ int main(int argc, char **argv) << std::endl << std::dec; // Print whole list - List* list = List::find_all(vid, pid); + Context context; + List* list = List::find_all(context, vid, pid); for (List::iterator it = list->begin(); it != list->end(); it++) { std::cout << "FTDI (" << &*it << "): "