Ticket #1770: boost-1.35.0.patch

File boost-1.35.0.patch, 2.6 KB (added by Gordon Magnusson <gordon.magnusson@…>, 15 years ago)
  • boost/filesystem/path.hpp

    diff -aur boost-1.35.0/boost/filesystem/path.hpp boost-1.35.0-fixed/boost/filesystem/path.hpp
    old new  
    624624
    625625      typedef Path path_type;
    626626
    627       basic_filesystem_error( const std::string & what,
     627      basic_filesystem_error( const std::string & what_arg,
    628628        system::error_code ec );
    629629
    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 );
    632632
    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 );
    635635
    636636      ~basic_filesystem_error() throw() {}
    637637
     
    13851385
    13861386    template<class Path>
    13871387    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)
    13901390    {
    13911391      try
    13921392      {
     
    13971397
    13981398    template<class Path>
    13991399    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,
    14011401      system::error_code ec )
    1402       : system::system_error(ec, what)
     1402      : system::system_error(ec, what_arg)
    14031403    {
    14041404      try
    14051405      {
    14061406        m_imp_ptr.reset( new m_imp );
    1407         m_imp_ptr->m_path1 = path1;
     1407        m_imp_ptr->m_path1 = path1_arg;
    14081408      }
    14091409      catch (...) { m_imp_ptr.reset(); }
    14101410    }
    14111411
    14121412    template<class Path>
    14131413    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)
    14171417    {
    14181418      try
    14191419      {
    14201420        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;
    14231423      }
    14241424      catch (...) { m_imp_ptr.reset(); }
    14251425    }