blob: 24d9d46d1df3f8694bc1c0364d79c56b69f862fb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/document/base/forcelink.h>
#include <vespa/documentapi/documentapi.h>
#include <vespa/searchlib/aggregation/forcelink.hpp>
#include <vespa/searchlib/expression/forcelink.hpp>
/* Here is code that initializes a lot of stuff to force it to be linked */
namespace search {
struct ForceLink {
ForceLink() {
if (time(NULL) == 7) {
// grouping stuff
forcelink_searchlib_aggregation();
forcelink_searchlib_expression();
}
}
};
}
namespace storage {
void serverForceLink()
{
document::ForceLink documentForce;
search::ForceLink searchForce;
}
} // namespace storage
|