diff options
Diffstat (limited to 'extern/ceres/internal/ceres/split.h')
-rw-r--r-- | extern/ceres/internal/ceres/split.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/extern/ceres/internal/ceres/split.h b/extern/ceres/internal/ceres/split.h index 94b773dee4d..f513023ec69 100644 --- a/extern/ceres/internal/ceres/split.h +++ b/extern/ceres/internal/ceres/split.h @@ -33,6 +33,7 @@ #include <string> #include <vector> + #include "ceres/internal/port.h" namespace ceres { @@ -41,7 +42,8 @@ namespace internal { // Split a string using one or more character delimiters, presented as a // nul-terminated c string. Append the components to 'result'. If there are // consecutive delimiters, this function skips over all of them. -void SplitStringUsing(const std::string& full, const char* delim, +void SplitStringUsing(const std::string& full, + const char* delim, std::vector<std::string>* res); } // namespace internal |