From c27884e959dc4f37bc62338550c3a69ca270769f Mon Sep 17 00:00:00 2001 From: tastytea Date: Mon, 26 Mar 2018 19:17:28 +0200 Subject: [PATCH] Added deprecation warnings --- src/mastodon-cpp.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mastodon-cpp.hpp b/src/mastodon-cpp.hpp index 3b781f9..a9fae60 100644 --- a/src/mastodon-cpp.hpp +++ b/src/mastodon-cpp.hpp @@ -284,6 +284,7 @@ public: /*! * @deprecated Will vanish in 1.0.0 */ + [[deprecated("Will vanish in 1.0.0")]] const std::uint16_t register_app1(const std::string &instance, const std::string &client_name, const std::string &redirect_uri, @@ -315,6 +316,7 @@ public: /*! * @deprecated Will vanish in 1.0.0 */ + [[deprecated("Will vanish in 1.0.0")]] const std::uint16_t register_app2(const std::string &instance, const std::string &client_id, const std::string &client_secret,