summaryrefslogtreecommitdiff
path: root/src/examples/elementary/toolbar_cxx_example_01.cc
diff options
context:
space:
mode:
authorVitor Sousa <vitorsousa@expertisesolutions.com.br>2019-07-09 10:13:27 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-07-09 10:13:27 +0200
commit7c23ba7c9325c33c514f1e1b4c05d6c43a7d2acd (patch)
treec99b9b7db4f1bbb652ec06e4875d92e75e22da95 /src/examples/elementary/toolbar_cxx_example_01.cc
parent288f645e3cdbd2890350dc1ab4434a8a0a5806cc (diff)
cxx: fix some compilation warnings in C++ examples
Summary: Fix some warnings in the C++ examples for elementary. These examples are build by default in the normal meson compilation. Only accidental warnings were fixed, explicit warnings using the `#warning` preprocessor directive were maintained. Test Plan: Compile with C++ binding. Reviewers: lauromoura, felipealmeida, segfaultxavi Reviewed By: segfaultxavi Subscribers: bu5hm4n, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9244
Diffstat (limited to 'src/examples/elementary/toolbar_cxx_example_01.cc')
-rw-r--r--src/examples/elementary/toolbar_cxx_example_01.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/examples/elementary/toolbar_cxx_example_01.cc b/src/examples/elementary/toolbar_cxx_example_01.cc
index 278a1bf9dd..19a99317c4 100644
--- a/src/examples/elementary/toolbar_cxx_example_01.cc
+++ b/src/examples/elementary/toolbar_cxx_example_01.cc
@@ -7,7 +7,9 @@
7 7
8#warning This example requires yet unfinished EO APIs 8#warning This example requires yet unfinished EO APIs
9 9
10#ifndef EFL_BETA_API_SUPPORT
10#define EFL_BETA_API_SUPPORT 11#define EFL_BETA_API_SUPPORT
12#endif
11#include <Efl_Ui.hh> 13#include <Efl_Ui.hh>
12 14
13EAPI int 15EAPI int