GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — cleaned up code and fixed array issues · beached/json_to_cpp@ef22b4e

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • include
    • json_to_cpp.h
  • src
    • json_to_cpp.cpp
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎include/json_to_cpp.h‎

Copy file name to clipboardExpand all lines: include/json_to_cpp.h
+4-7Lines 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 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.