From e4d69464b295456969b7ad67aeb076ec248385df Mon Sep 17 00:00:00 2001
From: Steven Murray <Steven.Murray@cern.ch>
Date: Mon, 20 May 2019 10:16:33 +0200
Subject: [PATCH] Added supply member-variable to catalogue::TapePool

---
 catalogue/TapePool.hpp | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/catalogue/TapePool.hpp b/catalogue/TapePool.hpp
index 7ca30f058e..5de6f27e89 100644
--- a/catalogue/TapePool.hpp
+++ b/catalogue/TapePool.hpp
@@ -23,6 +23,7 @@
 #include <string>
 
 #include "common/dataStructures/EntryLog.hpp"
+#include "common/optional.hpp"
 
 namespace cta {
 namespace catalogue {
@@ -99,6 +100,11 @@ struct TapePool {
    */
   uint64_t nbPhysicalFiles;
 
+  /**
+   * Optional value used by the tape pool supply mechanism.
+   */
+  cta::optional<std::string> supply;
+
   /**
    * The creation log.
    */
-- 
GitLab