File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ struct [[nodiscard]] IdType
105105 GRAPHQLRESPONSE_EXPORT void reserve (size_t new_cap);
106106 GRAPHQLRESPONSE_EXPORT [[nodiscard]] size_t capacity () const noexcept ;
107107 GRAPHQLRESPONSE_EXPORT void shrink_to_fit ();
108- GRAPHQLRESPONSE_EXPORT void clear ();
108+ GRAPHQLRESPONSE_EXPORT void clear () noexcept ;
109109
110110 // ByteData accessors
111111 GRAPHQLRESPONSE_EXPORT [[nodiscard]] const std::uint8_t & at (size_t pos) const ;
Original file line number Diff line number Diff line change @@ -204,10 +204,10 @@ void IdType::shrink_to_fit()
204204 _data);
205205}
206206
207- void IdType::clear ()
207+ void IdType::clear () noexcept
208208{
209209 std::visit (
210- [](auto & data) {
210+ [](auto & data) noexcept {
211211 data.clear ();
212212 },
213213 _data);
You can’t perform that action at this time.
0 commit comments