diff options
author | Ed Tanous <edtanous@google.com> | 2023-06-02 08:42:08 +0300 |
---|---|---|
committer | Ed Tanous <edtanous@google.com> | 2023-06-02 08:59:26 +0300 |
commit | c1c7b94bf8327a20ccce4f628c9b43c75db2023a (patch) | |
tree | 0bda4c72f3f25e1c1f774662bb75d48a05ef7254 /redfish-core/include | |
parent | 6fde95fad082fa7d6fc54f2ef8584e06fb116d42 (diff) | |
download | bmcweb-c1c7b94bf8327a20ccce4f628c9b43c75db2023a.tar.xz |
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 <edtanous@google.com>
Change-Id: Ie3de779330d768cdd84d5647d242d5fe447d2a85
Diffstat (limited to 'redfish-core/include')
-rw-r--r-- | redfish-core/include/error_messages.hpp | 9 |
1 files changed, 0 insertions, 9 deletions
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 |