fix include order

This commit is contained in:
Aaron Po
2026-04-13 10:03:23 -04:00
parent c7abc808ea
commit 3c70c46957
6 changed files with 16 additions and 14 deletions

View File

@@ -11,7 +11,7 @@
#include <string> #include <string>
#include <string_view> #include <string_view>
#include "data_generation/data_generator.h" k #include "data_generation/data_generator.h"
#include "data_model/application_options.h" #include "data_model/application_options.h"
struct llama_model; struct llama_model;

View File

@@ -3,14 +3,15 @@
* @brief BiergartenDataGenerator::QueryCitiesWithCountries() implementation. * @brief BiergartenDataGenerator::QueryCitiesWithCountries() implementation.
*/ */
#include <spdlog/spdlog.h> #include "biergarten_data_generator.h"
#include <algorithm> #include <algorithm>
#include <filesystem> #include <filesystem>
#include <iterator> #include <iterator>
#include <random> #include <random>
#include "biergarten_data_generator.h" #include <spdlog/spdlog.h>
#include "json_handling/json_loader.h" #include "json_handling/json_loader.h"
static constexpr std::size_t kBreweryAmount = 4; static constexpr std::size_t kBreweryAmount = 4;

View File

@@ -4,7 +4,7 @@
* inference, and validates structured JSON output for brewery records. * inference, and validates structured JSON output for brewery records.
*/ */
#include <spdlog/spdlog.h> #include "data_generation/llama_generator.h"
#include <array> #include <array>
#include <format> #include <format>
@@ -12,7 +12,8 @@
#include <stdexcept> #include <stdexcept>
#include <string> #include <string>
#include "data_generation/llama_generator.h" #include <spdlog/spdlog.h>
#include "data_generation/llama_generator_helpers.h" #include "data_generation/llama_generator_helpers.h"
static std::string ExtractFinalJsonPayload(std::string raw_response) { static std::string ExtractFinalJsonPayload(std::string raw_response) {

View File

@@ -6,14 +6,14 @@
#include "json_handling/json_loader.h" #include "json_handling/json_loader.h"
#include <spdlog/spdlog.h>
#include <boost/json.hpp>
#include <fstream> #include <fstream>
#include <sstream> #include <sstream>
#include <stdexcept> #include <stdexcept>
#include <string_view> #include <string_view>
#include <boost/json.hpp>
#include <spdlog/spdlog.h>
static std::string ReadRequiredString(const boost::json::object& object, static std::string ReadRequiredString(const boost::json::object& object,
const char* key) { const char* key) {
const boost::json::value* value = object.if_contains(key); const boost::json::value* value = object.if_contains(key);

View File

@@ -4,16 +4,16 @@
* initializes shared infrastructure, and executes the pipeline entry flow. * initializes shared infrastructure, and executes the pipeline entry flow.
*/ */
#include <spdlog/spdlog.h>
#include <boost/di.hpp>
#include <boost/program_options.hpp>
#include <exception> #include <exception>
#include <memory> #include <memory>
#include <optional> #include <optional>
#include <sstream> #include <sstream>
#include <string> #include <string>
#include <boost/di.hpp>
#include <boost/program_options.hpp>
#include <spdlog/spdlog.h>
#include "biergarten_data_generator.h" #include "biergarten_data_generator.h"
#include "data_generation/llama_generator.h" #include "data_generation/llama_generator.h"
#include "data_generation/mock_generator.h" #include "data_generation/mock_generator.h"

View File

@@ -3,14 +3,14 @@
* @brief CURLWebClient::Get() implementation. * @brief CURLWebClient::Get() implementation.
*/ */
#include <curl/curl.h> #include "web_client/curl_web_client.h"
#include <cstdint> #include <cstdint>
#include <memory> #include <memory>
#include <stdexcept> #include <stdexcept>
#include <string> #include <string>
#include "web_client/curl_web_client.h" #include <curl/curl.h>
using CurlHandle = std::unique_ptr<CURL, decltype(&curl_easy_cleanup)>; using CurlHandle = std::unique_ptr<CURL, decltype(&curl_easy_cleanup)>;