Skip to content

Commit 092f92f

Browse files
committed
mitigated misc-const-correctness clang-tidy false positive
1 parent c9c4204 commit 092f92f

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
@@ -430,6 +430,7 @@ namespace simplecpp {
430430
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);
431431

432432
void insert(FileData data) {
433+
// NOLINTNEXTLINE(misc-const-correctness) - FP
433434
FileData *const newdata = new FileData(std::move(data));
434435

435436
mData.emplace_back(newdata);

0 commit comments

Comments
 (0)