From 2d5dd12866c1c3cfa043401708b161757ef21c6a Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Fri, 16 Jul 2010 14:57:58 +0200 Subject: [PATCH 1/1] Silence gcc warning about initialization order --- src/container.hxx | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/container.hxx b/src/container.hxx index 7539e04..5aa6354 100644 --- a/src/container.hxx +++ b/src/container.hxx @@ -41,11 +41,11 @@ namespace libt2n class result_container { private: - enum result_type_t { regular, exception } result_type; - result *res; t2n_exception *ex; + enum result_type_t { regular, exception } result_type; + friend class boost::serialization::access; template void serialize(Archive & ar, const unsigned int version); -- 1.7.1