Revert "[clang-tidy] Use auto where the type is known"

This reverts commit 6ce2a129dd.
This commit is contained in:
Paul Beckingham
2020-12-05 16:18:15 -05:00
parent 0a3a4d364d
commit b2d46a1eba
2 changed files with 10 additions and 10 deletions

View File

@@ -485,7 +485,7 @@ void Hooks::assertSameTask (
for (auto& i : input)
{
auto* root_obj = (json::object*)json::parse (i);
json::object* root_obj = (json::object*)json::parse (i);
// If there is no UUID at all.
auto u = root_obj->_data.find ("uuid");
@@ -496,7 +496,7 @@ void Hooks::assertSameTask (
throw 0;
}
auto* up = (json::string*) u->second;
json::string* up = (json::string*) u->second;
auto text = up->dump ();
Lexer::dequote (text);
std::string json_uuid = json::decode (text);