From ec1a79011f119d7e545d3b83a8aff394d4c57e7e Mon Sep 17 00:00:00 2001
From: Matthias Puchner <github@mpuchner.de>
Date: Tue, 4 May 2021 16:46:53 +0200
Subject: [PATCH] remove unused class Unit

---
 Param/Base/Unit.h | 38 --------------------------------------
 1 file changed, 38 deletions(-)
 delete mode 100644 Param/Base/Unit.h

diff --git a/Param/Base/Unit.h b/Param/Base/Unit.h
deleted file mode 100644
index 49f7712f747..00000000000
--- a/Param/Base/Unit.h
+++ /dev/null
@@ -1,38 +0,0 @@
-//  ************************************************************************************************
-//
-//  BornAgain: simulate and fit reflection and scattering
-//
-//! @file      Param/Base/Unit.h
-//! @brief     Defines class Unit.
-//!
-//! @homepage  http://www.bornagainproject.org
-//! @license   GNU General Public License v3 or higher (see COPYING)
-//! @copyright Forschungszentrum Jülich GmbH 2018
-//! @authors   Scientific Computing Group at MLZ (see CITATION, AUTHORS)
-//
-//  ************************************************************************************************
-
-#ifdef SWIG
-#error no need to expose this header to Swig
-#endif
-
-#ifndef USER_API
-#ifndef BORNAGAIN_PARAM_BASE_UNIT_H
-#define BORNAGAIN_PARAM_BASE_UNIT_H
-
-#include <string>
-
-//! A physical unit.
-
-class Unit {
-public:
-    explicit Unit(const std::string& name = "") : m_name(name) {}
-    void setUnit(const std::string& name) { m_name = name; }
-    const std::string& getName() const { return m_name; }
-
-private:
-    std::string m_name;
-};
-
-#endif // BORNAGAIN_PARAM_BASE_UNIT_H
-#endif // USER_API
-- 
GitLab