Fix compiler error

This commit is contained in:
Lukas Joswiak 2021-07-27 10:14:36 -07:00
parent 59d535149e
commit e16e3019c0
2 changed files with 1 additions and 12 deletions

View File

@ -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)>>;

View File

@ -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;