Changeset 10777 for code/branches/cpp11_v2/src/libraries/util
- Timestamp:
- Nov 8, 2015, 11:16:22 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/util/StringUtils.cc
r9550 r10777 36 36 #include <cctype> 37 37 #include <ctime> 38 #include <boost/scoped_array.hpp>39 38 #include "Convert.h" 40 39 #include "Math.h" … … 482 481 size_t cols = str1.size() + 1; 483 482 size_t rows = str2.size() + 1; 484 boost::scoped_array<int> matrix(new int[rows * cols]);483 const std::unique_ptr<int[]> matrix(new int[rows * cols]); 485 484 486 485 for (size_t r = 0; r < rows; ++r)
Note: See TracChangeset
for help on using the changeset viewer.