projects
/
archive
/
platform
/
core
/
system
/
libConfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37f5674
)
Macro for creating empty Config structures
53/30053/1
author
Jan Olszak
<j.olszak@samsung.com>
Fri, 31 Oct 2014 15:54:25 +0000
(16:54 +0100)
committer
Jan Olszak
<j.olszak@samsung.com>
Fri, 7 Nov 2014 18:25:24 +0000
(19:25 +0100)
[Bug/Feature] N/A
[Cause] N/A
[Solution] N/A
[Verification] Build, install, run tests
Change-Id: I1e2c468f2d05855b71938b20e7b63bb5aa112d54
src/config/fields.hpp
patch
|
blob
|
history
diff --git
a/src/config/fields.hpp
b/src/config/fields.hpp
index
3269856
..
d5443b7
100644
(file)
--- a/
src/config/fields.hpp
+++ b/
src/config/fields.hpp
@@
-55,6
+55,15
@@
* )
* };
*/
+
+#define CONFIG_REGISTER_EMPTY \
+ template<typename Visitor> \
+ void accept(Visitor ) { \
+ } \
+ template<typename Visitor> \
+ void accept(Visitor ) const { \
+ } \
+
#define CONFIG_REGISTER(...) \
template<typename Visitor> \
void accept(Visitor v) { \