From 52f0880cd05d346120fb3a0a9310592d50ec8bcb Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 23 Aug 2025 15:43:04 +0100 Subject: Setup moveable/non-copyable special members on Ingestor --- src/Jamfile.jam | 1 + src/ingestor.hpp | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/src/Jamfile.jam b/src/Jamfile.jam index 637ddb8..f63ff81 100644 --- a/src/Jamfile.jam +++ b/src/Jamfile.jam @@ -1,5 +1,6 @@ lib webstat : ingestor.cpp logTypes.cpp : . + ..//adhocutil ../thirdparty//scn ..//z : : diff --git a/src/ingestor.hpp b/src/ingestor.hpp index 3bb9ddd..9ae8130 100644 --- a/src/ingestor.hpp +++ b/src/ingestor.hpp @@ -1,12 +1,18 @@ #pragma once #include "logTypes.hpp" +#include #include #include namespace WebStat { class Ingestor { public: + Ingestor() = default; + + virtual ~Ingestor() = default; + SPECIAL_MEMBERS_DEFAULT_MOVE_NO_COPY(Ingestor); + using ScanResult = decltype(scn::scan(std::declval(), "")); -- cgit v1.2.3