mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-02-14 19:44:15 +01:00
Give a type to the MQTT QOS enumeration.
This commit is contained in:
parent
ff0a97a150
commit
f90f127d1d
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2022,2023 by Jonathan Naylor G4KLX
|
||||
* Copyright (C) 2022,2023,2025 by Jonathan Naylor G4KLX
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
@ -24,10 +24,10 @@
|
|||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
enum class MQTT_QOS {
|
||||
AT_MODE_ONCE = 0U,
|
||||
AT_LEAST_ONCE = 1U,
|
||||
EXACTLY_ONCE = 2U
|
||||
enum class MQTT_QOS : int {
|
||||
AT_MODE_ONCE = 0,
|
||||
AT_LEAST_ONCE = 1,
|
||||
EXACTLY_ONCE = 2
|
||||
};
|
||||
|
||||
class CMQTTConnection {
|
||||
|
|
|
|||
Loading…
Reference in a new issue