Fix compiler error
This commit is contained in:
parent
59d535149e
commit
e16e3019c0
|
@ -25,18 +25,12 @@
|
|||
#include "fdbclient/NameLineage.h"
|
||||
#include <msgpack.hpp>
|
||||
#include <memory>
|
||||
#include <typeindex>
|
||||
#include <boost/endian/conversion.hpp>
|
||||
#include <boost/asio.hpp>
|
||||
|
||||
using namespace std::literals;
|
||||
|
||||
// TODO: For debugging, remove
|
||||
#ifdef ENABLE_SAMPLING
|
||||
LineageReference* curLineage() {
|
||||
return currentLineage;
|
||||
}
|
||||
#endif
|
||||
|
||||
class Packer : public msgpack::packer<msgpack::sbuffer> {
|
||||
struct visitor_t {
|
||||
using VisitorMap = std::unordered_map<std::type_index, std::function<void(std::any const&, Packer& packer)>>;
|
||||
|
|
|
@ -34,11 +34,6 @@
|
|||
void samplingProfilerUpdateFrequency(std::optional<std::any> freq);
|
||||
void samplingProfilerUpdateWindow(std::optional<std::any> window);
|
||||
|
||||
// TODO: For debugging, remove
|
||||
#ifdef ENABLE_SAMPLING
|
||||
LineageReference* curLineage();
|
||||
#endif
|
||||
|
||||
struct IALPCollectorBase {
|
||||
virtual std::optional<std::any> collect(ActorLineage*) = 0;
|
||||
virtual const std::string_view& name() = 0;
|
||||
|
|
Loading…
Reference in New Issue