Optional: nonstd to std

This commit is contained in:
Kyle Schwarz
2022-07-22 01:27:39 -04:00
parent 1bb33156f7
commit 9ef01e2d3d
77 changed files with 175 additions and 7628 deletions
+2 -2
View File
@@ -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;
};