mirror of
https://github.com/mfontanini/libtins
synced 2026-01-23 02:35:57 +01:00
CMake compilation now works on Windows.
This commit is contained in:
@@ -286,7 +286,7 @@ public:
|
||||
* \return true if pdu() == nullptr, false otherwise.
|
||||
*/
|
||||
operator bool() const {
|
||||
return bool(pdu_);
|
||||
return pdu_ ? true : false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user