summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/eina_cxx/eina_cxx_list_01.cc3
-rw-r--r--src/examples/eina_cxx/eina_cxx_thread_01.cc4
2 files changed, 4 insertions, 3 deletions
diff --git a/src/examples/eina_cxx/eina_cxx_list_01.cc b/src/examples/eina_cxx/eina_cxx_list_01.cc
index b451ef1553..0cb03810f2 100644
--- a/src/examples/eina_cxx/eina_cxx_list_01.cc
+++ b/src/examples/eina_cxx/eina_cxx_list_01.cc
@@ -14,9 +14,10 @@ I next(I i, std::size_t n = 1u)
14{ 14{
15 for(;n;--n) 15 for(;n;--n)
16 ++i; 16 ++i;
17 return i;
17} 18}
18 19
19int main(int argc, char **argv) 20int main()
20{ 21{
21 efl::eina::eina_init eina_init; 22 efl::eina::eina_init eina_init;
22 23
diff --git a/src/examples/eina_cxx/eina_cxx_thread_01.cc b/src/examples/eina_cxx/eina_cxx_thread_01.cc
index 6ce329f3e5..64c7525610 100644
--- a/src/examples/eina_cxx/eina_cxx_thread_01.cc
+++ b/src/examples/eina_cxx/eina_cxx_thread_01.cc
@@ -11,12 +11,12 @@
11 11
12namespace eina = efl::eina; 12namespace eina = efl::eina;
13 13
14void thread1(eina::mutex& m) 14void thread1(eina::mutex&)
15{ 15{
16 16
17} 17}
18 18
19int main(int argc, char **argv) 19int main()
20{ 20{
21 eina::eina_init eina_init; 21 eina::eina_init eina_init;
22 eina::eina_threads_init threads_init; 22 eina::eina_threads_init threads_init;