summaryrefslogtreecommitdiff
path: root/src/examples/eolian_cxx/eolian_cxx_callbacks_01.cc
diff options
context:
space:
mode:
authorSavio Sena <savio.sena@acm.org>2014-07-17 04:14:01 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2014-07-18 18:57:13 -0300
commitf60394c1af82daf8f38918a678081168940df340 (patch)
tree11de0d73232b9030d93ef92926d9c657914acca7 /src/examples/eolian_cxx/eolian_cxx_callbacks_01.cc
parent04d90ae131bd037ccd59eff15531f2459c799897 (diff)
eolian-cxx: Updated the examples according to the new syntax.
Diffstat (limited to 'src/examples/eolian_cxx/eolian_cxx_callbacks_01.cc')
-rw-r--r--src/examples/eolian_cxx/eolian_cxx_callbacks_01.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/examples/eolian_cxx/eolian_cxx_callbacks_01.cc b/src/examples/eolian_cxx/eolian_cxx_callbacks_01.cc
index 4efff00923..58377fe744 100644
--- a/src/examples/eolian_cxx/eolian_cxx_callbacks_01.cc
+++ b/src/examples/eolian_cxx/eolian_cxx_callbacks_01.cc
@@ -20,14 +20,14 @@
20#include <ecore_poll.eo.hh> 20#include <ecore_poll.eo.hh>
21 21
22namespace efl { namespace ecore { 22namespace efl { namespace ecore {
23using ::ecore_poller; 23using ::ecore::poller;
24} } 24} }
25 25
26void 26void
27example_callbacks() 27example_callbacks()
28{ 28{
29 int count = 0; 29 int count = 0;
30 efl::ecore::ecore_poller poller 30 efl::ecore::poller poller
31 (ECORE_POLLER_CORE, 1, 31 (ECORE_POLLER_CORE, 1,
32 [&count, &poller] 32 [&count, &poller]
33 { 33 {