Skip to content

Commit a86a14e

Browse files
committed
Fix [[nodiscard]] void
1 parent f70fae1 commit a86a14e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/graphqlservice/GraphQLResponse.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@ struct [[nodiscard]] IdType
102102
GRAPHQLRESPONSE_EXPORT [[nodiscard]] bool empty() const noexcept;
103103
GRAPHQLRESPONSE_EXPORT [[nodiscard]] size_t size() const noexcept;
104104
GRAPHQLRESPONSE_EXPORT [[nodiscard]] size_t max_size() const noexcept;
105-
GRAPHQLRESPONSE_EXPORT [[nodiscard]] void reserve(size_t new_cap);
105+
GRAPHQLRESPONSE_EXPORT void reserve(size_t new_cap);
106106
GRAPHQLRESPONSE_EXPORT [[nodiscard]] size_t capacity() const noexcept;
107-
GRAPHQLRESPONSE_EXPORT [[nodiscard]] void shrink_to_fit();
108-
GRAPHQLRESPONSE_EXPORT [[nodiscard]] void clear();
107+
GRAPHQLRESPONSE_EXPORT void shrink_to_fit();
108+
GRAPHQLRESPONSE_EXPORT void clear();
109109

110110
// ByteData accessors
111111
GRAPHQLRESPONSE_EXPORT [[nodiscard]] const std::uint8_t& at(size_t pos) const;

0 commit comments

Comments
 (0)