From 777406bb3e7682de6e10fc39d9327cc1f3cf4c81 Mon Sep 17 00:00:00 2001
From: Markus Frank <Markus.Frank@cern.ch>
Date: Fri, 13 Apr 2018 13:19:10 +0200
Subject: [PATCH] Add detector state depending on the load state

---
 examples/DDDB/include/DDDB/DDDBReader.h | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/examples/DDDB/include/DDDB/DDDBReader.h b/examples/DDDB/include/DDDB/DDDBReader.h
index 335e6910c..fc1a8b430 100644
--- a/examples/DDDB/include/DDDB/DDDBReader.h
+++ b/examples/DDDB/include/DDDB/DDDBReader.h
@@ -57,20 +57,20 @@ namespace dd4hep {
       /// Access data match
       const std::string& match() const           { return m_match;      }
       /// Access to local context
-      virtual UserContext* context();
+      virtual UserContext* context()   override;
 
       /// Process load request. Calls getObject at the end.            */
       /// Resolve a given URI to a string containing the data
-      virtual bool load(const std::string& system_id, std::string& buffer);
+      virtual bool load(const std::string& system_id, std::string& buffer)  override;
       /// Resolve a given URI to a string containing the data
-      virtual bool load(const std::string& system_id, UserContext* ctxt, std::string& buffer);
+      virtual bool load(const std::string& system_id, UserContext* ctxt, std::string& buffer)  override;
       /** If you have to modify intervals of validity, do it in here.
        *  Only this routine is called by EVERY parsing request
        */
       /// Inform reader about a locally (e.g. by XercesC) handled source load
-      virtual void parserLoaded(const std::string& system_id);
+      virtual void parserLoaded(const std::string& system_id)  override;
       /// Inform reader about a locally (e.g. by XercesC) handled source load
-      virtual void parserLoaded(const std::string& system_id, UserContext* ctxt);
+      virtual void parserLoaded(const std::string& system_id, UserContext* ctxt)  override;
 
       /** Main object reader routine                                   */
       /// Read raw XML object from the database / file
-- 
GitLab