Skip to content

Commit 3d47522

Browse files
committed
mitigated misc-const-correctness clang-tidy false positive
1 parent 4fd40c5 commit 3d47522

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

simplecpp.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,7 @@ namespace simplecpp {
426426
std::pair<FileData *, bool> get(const std::string &sourcefile, const std::string &header, const DUI &dui, bool systemheader, std::vector<std::string> &filenames, OutputList *outputList);
427427

428428
void insert(FileData data) {
429+
// NOLINTNEXTLINE(misc-const-correctness) - FP
429430
FileData *const newdata = new FileData(std::move(data));
430431

431432
mData.emplace_back(newdata);

0 commit comments

Comments
 (0)