move to top

This commit is contained in:
Aaron Kimbre 2025-01-02 22:23:40 -06:00
parent ca38139ff5
commit deddf0f256

View File

@ -7,6 +7,10 @@
#include <filesystem> #include <filesystem>
#include <map> #include <map>
#include "json.hpp"
using json = nlohmann::json;
template <typename T> template <typename T>
static inline size_t MinSize(const size_t size, const std::basic_string_view<T> string) { static inline size_t MinSize(const size_t size, const std::basic_string_view<T> string) {
if (size == SIZE_MAX || size > string.size()) { if (size == SIZE_MAX || size > string.size()) {
@ -327,10 +331,6 @@ std::vector<std::string> GeneralUtils::GetSqlFileNamesFromFolder(const std::stri
return sortedFiles; return sortedFiles;
} }
#include "json.hpp"
using json = nlohmann::json;
template<> template<>
[[nodiscard]] std::optional<json> GeneralUtils::TryParse(std::string_view str) { [[nodiscard]] std::optional<json> GeneralUtils::TryParse(std::string_view str) {
try { try {