suppressed 1 warning
diff --git a/doctest/doctest.h b/doctest/doctest.h
index fe8b602..93d1f20 100644
--- a/doctest/doctest.h
+++ b/doctest/doctest.h
@@ -3098,7 +3098,7 @@
return result;
}
- T operator=(T desired) DOCTEST_NOEXCEPT {
+ T operator=(T desired) DOCTEST_NOEXCEPT { // lgtm [cpp/assignment-does-not-return-this]
store(desired);
return desired;
}
diff --git a/doctest/parts/doctest.cpp b/doctest/parts/doctest.cpp
index 3a0aa07..117f968 100644
--- a/doctest/parts/doctest.cpp
+++ b/doctest/parts/doctest.cpp
@@ -375,7 +375,7 @@
return result;
}
- T operator=(T desired) DOCTEST_NOEXCEPT {
+ T operator=(T desired) DOCTEST_NOEXCEPT { // lgtm [cpp/assignment-does-not-return-this]
store(desired);
return desired;
}