Ignore:
Timestamp:
07/23/15 21:16:01 (10 years ago)
Author:
epyon
Message:
  • massive std::string removal
  • no header depends on std::string anymore (or any other STL header)
  • still some code files do (WIP)
  • massive refactoring where std::string was used
  • lua still messy (grep for string128 - used everywhere)
  • string_twine added
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/nv/interface/image_data.hh

    r395 r440  
    1616#include <nv/common.hh>
    1717#include <nv/stl/math.hh>
    18 #include <algorithm>
     18#include <nv/stl/algorithm/raw.hh>
    1919
    2020namespace nv
     
    5858                        size_t bsize = static_cast<size_t>(m_size.x * m_size.y) * get_depth();
    5959                        m_data = new uint8[ bsize ];
    60                         std::copy( data, data + bsize, m_data );
     60                        raw_copy( data, data + bsize, m_data );
    6161                }
    6262
Note: See TracChangeset for help on using the changeset viewer.