Changeset 554

Show
Ignore:
Timestamp:
08/18/09 15:31:29 (15 years ago)
Author:
vbarta
Message:

fewer Visual Studio warnings

Location:
library/bdm
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/base/loggers.cpp

    r551 r554  
    66#ifdef WIN32 
    77#include <io.h> 
     8#define open _open 
     9#define write _write 
     10#define close _close 
    811#endif 
    912 
  • library/bdm/shared_ptr.h

    r536 r554  
    141141 
    142142        operator bool() const { 
    143                 return payload; 
     143                return !!payload; 
    144144        } 
    145145