Skip to content

Commit ef22b4e

Browse files
committed
cleaned up code and fixed array issues
1 parent 26ce3ed commit ef22b4e

File tree

2 files changed

+328
-274
lines changed

2 files changed

+328
-274
lines changed

include/json_to_cpp.h

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,16 @@
2929

3030
namespace daw {
3131
namespace json_to_cpp {
32-
struct config_t: public daw::json::JsonLink<config_t> {
32+
struct config_t {
3333
bool enable_comments;
3434
bool enable_jsonlink;
35-
3635
config_t( );
3736
~config_t( );
38-
config_t( config_t const & other );
39-
config_t( config_t && other );
40-
37+
38+
config_t( config_t const & ) = default;
39+
config_t( config_t && ) = default;
4140
config_t & operator=( config_t const & ) = default;
4241
config_t & operator=( config_t && ) = default;
43-
private:
44-
void set_links( );
4542
}; // config_t
4643

4744
void generate_cpp( boost::string_view json_string, std::ostream & ss, config_t const & config );

0 commit comments

Comments
 (0)