diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-08-23 15:43:04 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-08-25 16:01:19 +0100 |
commit | 52f0880cd05d346120fb3a0a9310592d50ec8bcb (patch) | |
tree | e2ce1293dc232b21190858ef9d4154df7a2315af | |
parent | d0fe9fe6c613ec8894ca4b1d330e7847845a4710 (diff) | |
download | webstat-52f0880cd05d346120fb3a0a9310592d50ec8bcb.tar.bz2 webstat-52f0880cd05d346120fb3a0a9310592d50ec8bcb.tar.xz webstat-52f0880cd05d346120fb3a0a9310592d50ec8bcb.zip |
Setup moveable/non-copyable special members on Ingestor
-rw-r--r-- | src/Jamfile.jam | 1 | ||||
-rw-r--r-- | src/ingestor.hpp | 6 |
2 files changed, 7 insertions, 0 deletions
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 : <include>. + <library>..//adhocutil <library>../thirdparty//scn <library>..//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 <c++11Helpers.h> #include <cstdio> #include <scn/scan.h> namespace WebStat { class Ingestor { public: + Ingestor() = default; + + virtual ~Ingestor() = default; + SPECIAL_MEMBERS_DEFAULT_MOVE_NO_COPY(Ingestor); + using ScanResult = decltype(scn::scan<std::string_view, std::string_view, uint64_t, std::string_view, QuotedString, QueryString, std::string_view, unsigned short, unsigned int, unsigned int, CLFString, CLFString>(std::declval<std::string_view>(), "")); |