fix some code

This commit is contained in:
2025-09-30 22:05:40 +03:00
parent c716126382
commit 9c867b0e01
2 changed files with 2 additions and 2 deletions

View File

@@ -2,6 +2,7 @@
#include <vector> #include <vector>
#include <list> #include <list>
#include <iostream>
#include <map> #include <map>
#include <unordered_map> #include <unordered_map>
#include <forward_list> #include <forward_list>

View File

@@ -256,8 +256,7 @@ namespace hack
// print_t(std::any_cast<std::string>(value)); // print_t(std::any_cast<std::string>(value));
// но по какой-то причине на эту запись ругается clangd // но по какой-то причине на эту запись ругается clangd
//  Client clangd quit with exit code 0 and signal 11. Check log for errors: /home/chatlanin/.local/state/nvim/lsp.log //  Client clangd quit with exit code 0 and signal 11. Check log for errors: /home/chatlanin/.local/state/nvim/lsp.log
// возможно это из-за концепта is_string // когда они это порявят напишем а пока... пише так:
// по этому пише так:
print_t(std::any_cast<std::string>(value).c_str()); print_t(std::any_cast<std::string>(value).c_str());
} }
else if (value.type() == typeid(std::filesystem::path)) else if (value.type() == typeid(std::filesystem::path))