Skip to content

Commit

Permalink
Fix the EventTypeEnum operator""_et doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
ttldtor committed Mar 7, 2024
1 parent 85bc636 commit 2ee7ca6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/dxfeed_graal_cpp_api/event/EventTypeEnum.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,10 @@ inline namespace literals {
* String literal that helps to construct EventTypeEnum from a char array.
*
* @param eventTypeString The event type name's char array
* @param length Tha char array's length
* @param length The char array's length
* @return EventTypeEnum built on char array
*/
inline EventTypeEnum operator""_et(const char *eventTypeString, size_t length) noexcept {
inline EventTypeEnum operator""_et(const char *eventTypeString, size_t) noexcept {
if (auto it = EventTypeEnum::ALL_BY_NAME.find(eventTypeString); it != EventTypeEnum::ALL_BY_NAME.end()) {
return it->second;
}
Expand Down

0 comments on commit 2ee7ca6

Please sign in to comment.