1
0
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:
Matias Fontanini
2014-08-24 18:06:58 -03:00
parent 443974335a
commit f5b0603799
7 changed files with 62 additions and 19 deletions

View File

@@ -286,7 +286,7 @@ public:
* \return true if pdu() == nullptr, false otherwise.
*/
operator bool() const {
return bool(pdu_);
return pdu_ ? true : false;
}
/**