mirror of
https://github.com/boostorg/move.git
synced 2025-07-29 20:07:13 +02:00
- Make sure testsuite passes with "exception-handling=off". Requires using a custom mini-timer since Boost.Timer depends on Boost.Chrono, and Boost.Chrono's dll does not compile without exceptions.
This commit is contained in:
@ -33,7 +33,10 @@ class file_descriptor
|
||||
public:
|
||||
explicit file_descriptor(const char *filename) //Constructor
|
||||
: os_descr_(operating_system_open_file(filename))
|
||||
{ if(!os_descr_) throw std::runtime_error("file not found"); }
|
||||
{
|
||||
//=if(!os_descr_)
|
||||
//=throw std::runtime_error("file not found");
|
||||
}
|
||||
|
||||
~file_descriptor() //Destructor
|
||||
{ if(os_descr_) operating_system_close_file(os_descr_); }
|
||||
|
Reference in New Issue
Block a user