fix #includes

This commit is contained in:
Jared Van Bortel 2025-02-27 11:50:16 -05:00
parent d4e9a6177b
commit cc6f995795
6 changed files with 15 additions and 8 deletions

View File

@ -4,12 +4,13 @@
#include <QCoro/QCoroTask> // IWYU pragma: keep
#include <QJsonParseError>
#include <QNetworkAccessManager>
#include <QNetworkReply>
#include <QString>
#include <QUrl>
#include <cassert>
#include <exception>
#include <expected>
#include <utility>
#include <variant>

View File

@ -4,11 +4,12 @@
# include <boost/describe/class.hpp>
# include <boost/describe/enum.hpp>
#endif
#include <boost/json.hpp>
#include <boost/json.hpp> // IWYU pragma: keep
#include <QString>
#include <QtTypes>
#include <optional>
#include <vector>

View File

@ -1,7 +1,8 @@
#include "json-helpers.h"
#include <boost/json.hpp>
#include <boost/json.hpp> // IWYU pragma: keep
#include <QByteArray>
#include <QString>
namespace json = boost::json;

View File

@ -1,14 +1,13 @@
#include "ollama-client.h"
#include "json-helpers.h"
#include "json-helpers.h" // IWYU pragma: keep
#include "qt-json-stream.h"
#include <QCoro/QCoroIODevice> // IWYU pragma: keep
#include <QCoro/QCoroNetworkReply> // IWYU pragma: keep
#include <boost/json.hpp>
#include <boost/json.hpp> // IWYU pragma: keep
#include <QByteArray>
#include <QNetworkAccessManager>
#include <QNetworkRequest>
#include <coroutine>

View File

@ -1,5 +1,9 @@
#include "qt-json-stream.h"
#include <QtPreprocessorSupport>
#include <cstddef>
namespace json = boost::json;

View File

@ -1,11 +1,12 @@
#pragma once
#include <boost/json.hpp>
#include <boost/json.hpp> // IWYU pragma: keep
#include <QIODevice>
#include <QObject>
#include <QtTypes>
class QObject;
namespace gpt4all::backend {