Skip to content

Commit

Permalink
pref: replace copy constructor with direct constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
ChingCdesu committed Dec 28, 2023
1 parent 5170cb6 commit af4cf61
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions include/unicode.h

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tools/unicode.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ header += '#include <set>\n'
header += 'namespace json::unicode {\n'

header += Object.keys(data).map(key => `
std::set<uint64_t> ${key} =
std::set<uint64_t> ${key}
{${data[key].toArray().map(v => '0x' + Number(v).toString(16)).join(', ')}}
;
`).join('')
Expand Down

0 comments on commit af4cf61

Please sign in to comment.