diff options
-rw-r--r-- | clang-tools-extra/docs/clang-tidy/checks/modernize-use-emplace.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang-tools-extra/docs/clang-tidy/checks/modernize-use-emplace.rst b/clang-tools-extra/docs/clang-tidy/checks/modernize-use-emplace.rst index 6d07d351039..d2c2f06effb 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/modernize-use-emplace.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/modernize-use-emplace.rst @@ -48,6 +48,7 @@ After: In this case the calls of ``push_back`` won't be replaced. .. code:: c++ + std::vector<std::unique_ptr<int> > v; v.push_back(new int(5)); auto *ptr = int; |