diff --git a/include/caosdb/entity.h b/include/caosdb/entity.h index 52a69e05083670a302a71b883993ae28122e7655..23b6e2f612a52e85df9eb2682b6cac11fd594063 100644 --- a/include/caosdb/entity.h +++ b/include/caosdb/entity.h @@ -47,6 +47,7 @@ #include <string> // for string, basic... #include <utility> // for move #include <vector> // for vector +// IWYU pragma: no_include "net/proto2/public/repeated_field.h" namespace caosdb::entity { using caosdb::entity::v1::IdResponse; diff --git a/src/caosdb/transaction.cpp b/src/caosdb/transaction.cpp index 939e5e8d6e55a533d78c826f513ffea527101e0c..e3e5ecff34a1e6200b508f337b2d80f4505359bf 100644 --- a/src/caosdb/transaction.cpp +++ b/src/caosdb/transaction.cpp @@ -18,9 +18,8 @@ * */ #include "caosdb/transaction.h" -#include "caosdb/entity/v1/main.grpc.pb.h" // for EntityTransac... -#include "caosdb/entity/v1/main.pb.h" // for TransactionRe... - +#include "caosdb/entity/v1/main.grpc.pb.h" // for EntityTransac... +#include "caosdb/entity/v1/main.pb.h" // for TransactionRe... #include "caosdb/file_transmission/download_request_handler.h" // Download... #include "caosdb/file_transmission/file_reader.h" // for path #include "caosdb/file_transmission/register_file_upload_handler.h" // for RegisterFileUploadHandler @@ -29,16 +28,17 @@ #include "caosdb/status_code.h" // for StatusCode #include "caosdb/transaction_handler.h" // for EntityTransactionHandler #include <algorithm> // for max +#include <exception> // IWYU pragma: keep +#include <filesystem> // for operator<<, path +#include <google/protobuf/arena.h> // for Arena +#include <grpc/impl/codegen/gpr_types.h> // for gpr_timespec +#include <grpcpp/impl/codegen/completion_queue.h> // for CompletionQueue +#include <map> // for map, operator!= +#include <memory> // for unique_ptr +#include <random> // for mt19937, rand... +#include <utility> // for move, pair // IWYU pragma: no_include <bits/exception.h> -#include <exception> // IWYU pragma: keep -#include <filesystem> // for operator<<, path -#include <google/protobuf/arena.h> // for Arena -#include <grpc/impl/codegen/gpr_types.h> // for gpr_timespec -#include <grpcpp/impl/codegen/completion_queue.h> // for CompletionQueue -#include <map> // for map, operator!= -#include <memory> // for unique_ptr -#include <random> // for mt19937, rand... -#include <utility> // for move, pair +// IWYU pragma: no_include "net/proto2/public/repeated_field.h" namespace caosdb::transaction { using caosdb::entity::v1::EntityTransactionService; diff --git a/test/test_entity.cpp b/test/test_entity.cpp index 5f5aaaab4a5f6727f38ea30c0205ea8d79a925b1..a42e91781922c5e8b9530663b5bdbc53d4532fe3 100644 --- a/test/test_entity.cpp +++ b/test/test_entity.cpp @@ -39,6 +39,7 @@ #include <stdexcept> // for out_of_range #include <string> // for operator+, to_string #include <utility> // for move +// IWYU pragma: no_include "net/proto2/public/repeated_field.h" namespace caosdb::entity { using caosdb::entity::v1::IdResponse;