From deddf0f256ff26495ec9389587ab4300eb43bef3 Mon Sep 17 00:00:00 2001 From: Aaron Kimbre Date: Thu, 2 Jan 2025 22:23:40 -0600 Subject: [PATCH] move to top --- dCommon/GeneralUtils.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dCommon/GeneralUtils.cpp b/dCommon/GeneralUtils.cpp index 03b6a0bc..7cc9278b 100644 --- a/dCommon/GeneralUtils.cpp +++ b/dCommon/GeneralUtils.cpp @@ -7,6 +7,10 @@ #include #include +#include "json.hpp" + +using json = nlohmann::json; + template static inline size_t MinSize(const size_t size, const std::basic_string_view string) { if (size == SIZE_MAX || size > string.size()) { @@ -327,10 +331,6 @@ std::vector GeneralUtils::GetSqlFileNamesFromFolder(const std::stri return sortedFiles; } -#include "json.hpp" - -using json = nlohmann::json; - template<> [[nodiscard]] std::optional GeneralUtils::TryParse(std::string_view str) { try {