olena-2.0-547-g276ad3d Fix different forward declarations (class/struct) in scribo/core.

* scribo/core/component_set.hh, * scribo/core/line_set.hh: Here. --- scribo/ChangeLog | 8 ++++++++ scribo/scribo/core/component_set.hh | 2 +- scribo/scribo/core/line_set.hh | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/scribo/ChangeLog b/scribo/ChangeLog index 2c9ff3c..89f8fc9 100644 --- a/scribo/ChangeLog +++ b/scribo/ChangeLog @@ -1,3 +1,11 @@ +2013-02-27 Anthony Seure <anthony.seure@lrde.epita.fr> + + Fix different forward declarations (class/struct) in scribo/core. + + * scribo/core/component_set.hh, + * scribo/core/line_set.hh: + Here. + 2013-04-17 Guillaume Lazzara <z@lrde.epita.fr> * scribo/core/object_links.hh: Always initialize links in diff --git a/scribo/scribo/core/component_set.hh b/scribo/scribo/core/component_set.hh index 135580f..4914a9b 100644 --- a/scribo/scribo/core/component_set.hh +++ b/scribo/scribo/core/component_set.hh @@ -69,7 +69,7 @@ namespace scribo { // Forward declaration. - template <typename L> struct component_set; + template <typename L> class component_set; namespace internal diff --git a/scribo/scribo/core/line_set.hh b/scribo/scribo/core/line_set.hh index 26bbb6d..7200bdd 100644 --- a/scribo/scribo/core/line_set.hh +++ b/scribo/scribo/core/line_set.hh @@ -56,8 +56,8 @@ namespace scribo { // Forward declaration. - template <typename L> struct line_set; - template <typename L> struct line_info; + template <typename L> class line_set; + template <typename L> class line_info; typedef mln::util::object_id<scribo::LineId, unsigned> line_id_t; -- 1.7.2.5
participants (1)
-
Anthony Seure