mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Fix for bug in Fix for wrongly initialized test key am: 0051181ac7
am: 875dcd9082
Change-Id: I374e6fa5beb07fca53a1191564d4d8175b5a6c8c
This commit is contained in:
@@ -58,7 +58,8 @@ class NullOr {
|
||||
|
||||
public:
|
||||
NullOr() : value_(initializer_t<ValueT>::init()), null_(true) {}
|
||||
NullOr(ValueT&& value) : value_(std::forward<ValueT>(value)), null_(false) {}
|
||||
template <typename T>
|
||||
NullOr(T&& value) : value_(std::forward<T>(value)), null_(false) {}
|
||||
|
||||
bool isOk() const { return !null_; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user