diff -aur boost-1.35.0/boost/filesystem/path.hpp boost-1.35.0-fixed/boost/filesystem/path.hpp
|
old
|
new
|
|
| 624 | 624 | |
| 625 | 625 | typedef Path path_type; |
| 626 | 626 | |
| 627 | | basic_filesystem_error( const std::string & what, |
| | 627 | basic_filesystem_error( const std::string & what_arg, |
| 628 | 628 | system::error_code ec ); |
| 629 | 629 | |
| 630 | | basic_filesystem_error( const std::string & what, |
| 631 | | const path_type & path1, system::error_code ec ); |
| | 630 | basic_filesystem_error( const std::string & what_arg, |
| | 631 | const path_type & path1_arg, system::error_code ec ); |
| 632 | 632 | |
| 633 | | basic_filesystem_error( const std::string & what, const path_type & path1, |
| 634 | | const path_type & path2, system::error_code ec ); |
| | 633 | basic_filesystem_error( const std::string & what_arg, const path_type & path1_arg, |
| | 634 | const path_type & path2_arg, system::error_code ec ); |
| 635 | 635 | |
| 636 | 636 | ~basic_filesystem_error() throw() {} |
| 637 | 637 | |
| … |
… |
|
| 1385 | 1385 | |
| 1386 | 1386 | template<class Path> |
| 1387 | 1387 | basic_filesystem_error<Path>::basic_filesystem_error( |
| 1388 | | const std::string & what, system::error_code ec ) |
| 1389 | | : system::system_error(ec, what) |
| | 1388 | const std::string & what_arg, system::error_code ec ) |
| | 1389 | : system::system_error(ec, what_arg) |
| 1390 | 1390 | { |
| 1391 | 1391 | try |
| 1392 | 1392 | { |
| … |
… |
|
| 1397 | 1397 | |
| 1398 | 1398 | template<class Path> |
| 1399 | 1399 | basic_filesystem_error<Path>::basic_filesystem_error( |
| 1400 | | const std::string & what, const path_type & path1, |
| | 1400 | const std::string & what_arg, const path_type & path1_arg, |
| 1401 | 1401 | system::error_code ec ) |
| 1402 | | : system::system_error(ec, what) |
| | 1402 | : system::system_error(ec, what_arg) |
| 1403 | 1403 | { |
| 1404 | 1404 | try |
| 1405 | 1405 | { |
| 1406 | 1406 | m_imp_ptr.reset( new m_imp ); |
| 1407 | | m_imp_ptr->m_path1 = path1; |
| | 1407 | m_imp_ptr->m_path1 = path1_arg; |
| 1408 | 1408 | } |
| 1409 | 1409 | catch (...) { m_imp_ptr.reset(); } |
| 1410 | 1410 | } |
| 1411 | 1411 | |
| 1412 | 1412 | template<class Path> |
| 1413 | 1413 | basic_filesystem_error<Path>::basic_filesystem_error( |
| 1414 | | const std::string & what, const path_type & path1, |
| 1415 | | const path_type & path2, system::error_code ec ) |
| 1416 | | : system::system_error(ec, what) |
| | 1414 | const std::string & what_arg, const path_type & path1_arg, |
| | 1415 | const path_type & path2_arg, system::error_code ec ) |
| | 1416 | : system::system_error(ec, what_arg) |
| 1417 | 1417 | { |
| 1418 | 1418 | try |
| 1419 | 1419 | { |
| 1420 | 1420 | m_imp_ptr.reset( new m_imp ); |
| 1421 | | m_imp_ptr->m_path1 = path1; |
| 1422 | | m_imp_ptr->m_path2 = path2; |
| | 1421 | m_imp_ptr->m_path1 = path1_arg; |
| | 1422 | m_imp_ptr->m_path2 = path2_arg; |
| 1423 | 1423 | } |
| 1424 | 1424 | catch (...) { m_imp_ptr.reset(); } |
| 1425 | 1425 | } |