requested by Laurent Pages: Indeed the smartcard detection on Windows does not work properly; refs #22

This commit is contained in:
Marc Wäckerlin
2012-11-16 14:24:37 +00:00
parent 701b0a3939
commit 49ff530497

View File

@@ -536,8 +536,7 @@ namespace pcsc {
//! @c false if last operation was not successful //! @c false if last operation was not successful
operator bool() const { operator bool() const {
//return (_state>>30&3)==0; return (_state>>30&3)==0;
return _state==SCARD_S_SUCCESS;
} }
//! Get the describing text of the last error //! Get the describing text of the last error