X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fpbd%2Fpbd%2Fproperties.h;h=684fc37ffe95d3f4b8e5669047f8ce986f1ee81e;hb=5c51b302cec5942a37f468903c4183b0a6c50695;hp=70d18db4c7bd74468250b7fefe570bc324593bda;hpb=9aacefc17010a889222425f97b99050171165038;p=ardour.git diff --git a/libs/pbd/pbd/properties.h b/libs/pbd/pbd/properties.h index 70d18db4c7..684fc37ffe 100644 --- a/libs/pbd/pbd/properties.h +++ b/libs/pbd/pbd/properties.h @@ -443,7 +443,7 @@ public: } operator bool () const { - return _current; + return _current ? true : false; } protected: