From 030af3e7af210617df00bf850476df6b46fb004d Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Mon, 30 Sep 2024 16:16:20 +0200 Subject: Enable readability-* checks. --- src/utils/cpp/tmp_dir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils/cpp') diff --git a/src/utils/cpp/tmp_dir.cpp b/src/utils/cpp/tmp_dir.cpp index 11f10559..db41512b 100644 --- a/src/utils/cpp/tmp_dir.cpp +++ b/src/utils/cpp/tmp_dir.cpp @@ -40,7 +40,7 @@ auto TmpDir::Create(std::filesystem::path const& prefix, // attempt to make the tmp dir // NOLINTNEXTLINE(cppcoreguidelines-pro-type-vararg,hicpp-vararg) - char* tmp_dir = mkdtemp(&c_tmpl[0]); + char* tmp_dir = mkdtemp(c_tmpl.data()); if (tmp_dir == nullptr) { return nullptr; } -- cgit v1.2.3