refactor: tests and format the world (#314)

This commit is contained in:
ykiko
2025-11-30 15:21:27 +08:00
committed by GitHub
parent 2214d53ea5
commit cec13ec29b
201 changed files with 8302 additions and 8277 deletions

View File

@@ -76,7 +76,7 @@ public:
StructedText(StructedText&&) = default;
StructedText& operator= (const StructedText& other) {
StructedText& operator=(const StructedText& other) {
blocks.clear();
for(auto& b: other.blocks) {
blocks.push_back(b->clone());
@@ -84,7 +84,7 @@ public:
return *this;
}
StructedText& operator= (StructedText&&) = default;
StructedText& operator=(StructedText&&) = default;
void append(StructedText& doc);