Skip to content

Commit 08be41e

Browse files
committed
Renamed 'FusionStruct' into 'StringifiableStruct'.
1 parent b87fc6b commit 08be41e

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

stringify/jss_fusion_adapted_struct.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ namespace JSON
6464
};
6565

6666
template <typename Derived>
67-
struct FusionStruct
67+
struct StringifiableStruct
6868
{
6969
std::ostream& stringify(std::ostream& stream, StringificationOptions options) const
7070
{
@@ -73,7 +73,7 @@ namespace JSON
7373
AdaptedStringifier<Derived> stringifier;
7474
return stringifier(stream, *static_cast <Derived const*> (this), options);
7575
}
76-
virtual ~FusionStruct() = default;
76+
virtual ~StringifiableStruct() = default;
7777
};
7878
}
7979

stringify/jss_fusion_vector.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
#include "jss_tuple.h"
66

77
#include <boost/fusion/container/vector.hpp>
8-
#include <boost/fusion/include/vector.hpp>
8+
#include <boost/fusion/include/vector.hpp>
9+
10+
#pragma error "Not yet implemented"
911

1012
namespace JSON
1113
{

test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// TODO: needs more tests
1313

1414
// this does not need to be more complex. works recursively, so other tests will fulfill our needs
15-
struct Object : public JSON::FusionStruct <Object>
15+
struct Object : public JSON::StringifiableStruct <Object>
1616
, public JSON::ParsableStruct <Object>
1717
{
1818
int id = 5;

0 commit comments

Comments
 (0)