Skip to content

Commit 9362069

Browse files
committed
mitigated misc-const-correctness clang-tidy false positive
1 parent ca19732 commit 9362069

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
@@ -418,6 +418,7 @@ namespace simplecpp {
418418
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);
419419

420420
void insert(FileData data) {
421+
// NOLINTNEXTLINE(misc-const-correctness) - FP
421422
FileData *const newdata = new FileData(std::move(data));
422423

423424
mData.emplace_back(newdata);

0 commit comments

Comments
 (0)