mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-12 19:02:12 +00:00
query-result-reader: order idl implementations correctly
Clang eagerly instantiates templates, so if it needs a template function for which it has a declaration but not a definition, it will not instantiate the definition when it sees it. This causes link errors. Fix by ordering the idl implementation files so that definitions come before uses.
This commit is contained in:
@@ -33,9 +33,9 @@
|
||||
#include "idl/query.dist.hh"
|
||||
#include "serializer_impl.hh"
|
||||
#include "serialization_visitors.hh"
|
||||
#include "idl/query.dist.impl.hh"
|
||||
#include "idl/keys.dist.impl.hh"
|
||||
#include "idl/uuid.dist.impl.hh"
|
||||
#include "idl/keys.dist.impl.hh"
|
||||
#include "idl/query.dist.impl.hh"
|
||||
|
||||
namespace query {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user