mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 01:18:36 +02:00
Optional: nonstd to std
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include "icsneo/communication/ethernetpacketizer.h"
|
||||
#include "icsneo/platform/optional.h"
|
||||
#include "gtest/gtest.h"
|
||||
#include <optional>
|
||||
|
||||
using namespace icsneo;
|
||||
|
||||
@@ -27,7 +27,7 @@ protected:
|
||||
packetizer.reset();
|
||||
}
|
||||
|
||||
optional<EthernetPacketizer> packetizer;
|
||||
std::optional<EthernetPacketizer> packetizer;
|
||||
device_eventhandler_t onError;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user