Skip to content

Commit 3cea0b8

Browse files
authored
bmqp::Protocol: Enum class for eStopRequestVersion (#662)
Signed-off-by: Yuan Jing Vincent Yan <[email protected]>
1 parent d84a337 commit 3cea0b8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/groups/bmq/bmqp/bmqp_protocol.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,9 @@ bool operator==(const SubQueueInfo& lhs, const SubQueueInfo& rhs);
338338
struct Protocol {
339339
// TYPES
340340

341-
enum eStopRequestVersion { e_V1 = 1, e_V2 = 2 };
341+
struct eStopRequestVersion {
342+
enum Enum { e_V1 = 1, e_V2 = 2 };
343+
};
342344

343345
/// A constant used to declare the length of static part of the array of
344346
/// subQueueIds (or AppKeys).

0 commit comments

Comments
 (0)