From c1c7b94bf8327a20ccce4f628c9b43c75db2023a Mon Sep 17 00:00:00 2001 From: Ed Tanous Date: Thu, 1 Jun 2023 22:42:08 -0700 Subject: Remove duplicated stringValueTooLong This prototype got added twice, once with int as a value, and once with size_t. This builds fine in 64 bit, but in 32 bit, fails. Tested: Code compiles Signed-off-by: Ed Tanous Change-Id: Ie3de779330d768cdd84d5647d242d5fe447d2a85 --- redfish-core/include/error_messages.hpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'redfish-core/include') diff --git a/redfish-core/include/error_messages.hpp b/redfish-core/include/error_messages.hpp index f55a6bbc5b..b8439705bb 100644 --- a/redfish-core/include/error_messages.hpp +++ b/redfish-core/include/error_messages.hpp @@ -1079,15 +1079,6 @@ nlohmann::json arraySizeTooLong(std::string_view property, uint64_t length); void arraySizeTooLong(crow::Response& res, std::string_view property, uint64_t length); -/** - * @brief Formats StringValueTooLong message into JSON - * Message body: "Indicates that a string value passed to the given resource - * exceeded its length limit." - * @returns Message StringValueTooLong formatted to JSON */ -nlohmann::json stringValueTooLong(std::string_view property, uint64_t length); - -void stringValueTooLong(crow::Response& res, std::string_view property, - uint64_t length); } // namespace messages -- cgit v1.2.3