Skip to content

Commit b0d1ff9

Browse files
AI fixes
1 parent 4c9a2fa commit b0d1ff9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/util.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,9 @@ struct ALL_PROJECTS_LIST {
229229
~ALL_PROJECTS_LIST() {
230230
clear();
231231
}
232+
// make it non-copyable
233+
ALL_PROJECTS_LIST(const ALL_PROJECTS_LIST&) = delete;
234+
ALL_PROJECTS_LIST& operator=(const ALL_PROJECTS_LIST&) = delete;
232235

233236
void clear();
234237
int parse(XML_PARSER&);

0 commit comments

Comments
 (0)