From 3fff3e5f2c214bb8dec33914e953597ee11f76cb Mon Sep 17 00:00:00 2001
From: Michael Kuron <mkuron@icp.uni-stuttgart.de>
Date: Mon, 5 Oct 2020 13:32:17 +0200
Subject: [PATCH] Make sure all deprecated attributes have a message

---
 src/pe/rigidbody/BodyStorage.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/pe/rigidbody/BodyStorage.h b/src/pe/rigidbody/BodyStorage.h
index d8c91adf3..b6e159f67 100644
--- a/src/pe/rigidbody/BodyStorage.h
+++ b/src/pe/rigidbody/BodyStorage.h
@@ -131,7 +131,8 @@ public:
    //**Add/Remove functions************************************************************************
    /*!\name Add/Remove functions */
    //@{
-   [[deprecated]] inline RigidBody&     add     ( BodyID body );
+   [[deprecated("Please wrap the body into a unique_ptr")]]
+   inline RigidBody&     add     ( BodyID body );
    inline RigidBody&     add     ( std::unique_ptr<RigidBody>&& body );
    inline iterator       remove  ( const id_t sid );
    inline iterator       remove  ( BodyID body );
-- 
GitLab