Ignore:
Timestamp:
07/21/15 19:40:00 (10 years ago)
Author:
epyon
Message:
  • string.hh split into separate files
  • string.hh - removed std::string conversions (header still stays though)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/engine/program_manager.cc

    r399 r433  
    3737        }
    3838
    39         nv::program program = m_context->get_device()->create_program( string_view( vsource ), string_view( fsource ) );
     39        nv::program program = m_context->get_device()->create_program( string_view( vsource.c_str(), vsource.size() ), string_view( fsource.c_str(), fsource.size() ) );
    4040        return add( program );
    4141}
Note: See TracChangeset for help on using the changeset viewer.