From 23d88aa2812c361d30abefeeb296548698409bf5 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 21 Apr 2022 10:32:35 -0700 Subject: More progress, mostly planning and playing. I'm trying to find the right design usage patterns for using the archive system with tagging and lists and dictionaries. Also, are there other structures that I'm missing? --- src/tests/archivetags.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/tests') diff --git a/src/tests/archivetags.cpp b/src/tests/archivetags.cpp index f0587fd..5c8e0fa 100644 --- a/src/tests/archivetags.cpp +++ b/src/tests/archivetags.cpp @@ -25,9 +25,9 @@ Bu::Archive &operator<<( Bu::Archive &ar, const SubThing &st ) { Bu::Archive::Dictionary ds( ar ); - return ar - << ar.tag("data") << st.bData - << ar.tag("name") << st.tName; + ar.tag("data") << st.bData + ar.tag("name") << st.tName; + return ar; } Bu::Archive &operator>>( Bu::Archive &ar, SubThing &st ) -- cgit v1.2.3