mirror of https://github.com/qt/qtgrpc.git
Fix include of std::set
With new version of gRPC, compiler complains about missing include of the std::set. Move include from .cpp to .h files. Pick-to: 6.6 Change-Id: Ibfef277598cb9e620ab1b693a42564706302c9cc Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
parent
1b6b1aab83
commit
0d0d14e551
|
|
@ -10,7 +10,6 @@
|
|||
#include "utils.h"
|
||||
#include "options.h"
|
||||
|
||||
#include <set>
|
||||
#include <google/protobuf/compiler/code_generator.h>
|
||||
#include <google/protobuf/stubs/logging.h>
|
||||
#include <google/protobuf/stubs/common.h>
|
||||
|
|
|
|||
|
|
@ -4,8 +4,9 @@
|
|||
#ifndef QGRPCGENERATOR_H
|
||||
#define QGRPCGENERATOR_H
|
||||
|
||||
#include <memory>
|
||||
#include "generatorbase.h"
|
||||
#include <memory>
|
||||
#include <set>
|
||||
|
||||
namespace google::protobuf {
|
||||
class FileDescriptor;
|
||||
|
|
|
|||
|
|
@ -12,11 +12,11 @@
|
|||
#include "utils.h"
|
||||
#include "options.h"
|
||||
|
||||
#include <cassert>
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <numeric>
|
||||
#include <set>
|
||||
#include <unordered_set>
|
||||
|
||||
#include <google/protobuf/stubs/logging.h>
|
||||
#include <google/protobuf/stubs/common.h>
|
||||
#include <google/protobuf/io/printer.h>
|
||||
|
|
|
|||
|
|
@ -7,6 +7,8 @@
|
|||
|
||||
#include "generatorbase.h"
|
||||
|
||||
#include <set>
|
||||
|
||||
namespace google::protobuf {
|
||||
class FileDescriptor;
|
||||
class Descriptor;
|
||||
|
|
|
|||
Loading…
Reference in New Issue