Python bindings do not like strongly typed enums apparently

This commit is contained in:
Stefano Avallone
2018-03-03 12:24:02 +01:00
parent 2c297a1681
commit 69a4a84e4c
2 changed files with 2 additions and 2 deletions

View File

@@ -39,7 +39,7 @@ namespace ns3 {
* \brief Enumeration of the operating modes of queues.
*
*/
enum class QueueSizeUnit : uint8_t
enum QueueSizeUnit
{
PACKETS, /**< Use number of packets for queue size */
BYTES, /**< Use number of bytes for queue size */

View File

@@ -100,7 +100,7 @@ private:
* internal queue/child queue disc because of lack of space, while the queue
* disc limit is not exceeded.
*/
enum class QueueDiscSizePolicy : uint8_t
enum QueueDiscSizePolicy
{
SINGLE_INTERNAL_QUEUE, /**< Used by queue discs with single internal queue */
SINGLE_CHILD_QUEUE_DISC, /**< Used by queue discs with single child queue disc */