Skip to content

Commit 65df88d

Browse files
author
Clement Champetier
committed
ProfileLoader: split split split
1 parent e8fc212 commit 65df88d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/AvTranscoder/ProfileLoader.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,12 +201,12 @@ bool ProfileLoader::checkAudioProfile( const Profile& profileToCheck )
201201
return isValid;
202202
}
203203

204-
void split( std::vector< std::string >& splitedString, const std::string& inputString, const std::string& splitChars )
204+
void split( std::vector< std::string >& splitString, const std::string& inputString, const std::string& splitChars )
205205
{
206206
char* part = strtok( const_cast<char*>( inputString.c_str() ), splitChars.c_str() );
207207
while( part != NULL )
208208
{
209-
splitedString.push_back( std::string( part ) );
209+
splitString.push_back( std::string( part ) );
210210
part = strtok( NULL, splitChars.c_str() );
211211
}
212212
}

src/AvTranscoder/ProfileLoader.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class AvExport ProfileLoader
7474
};
7575

7676
#ifndef SWIG
77-
void split( std::vector< std::string >& splitedString, const std::string& inputString, const std::string& splitChars = ";" );
77+
void split( std::vector< std::string >& splitString, const std::string& inputString, const std::string& splitChars = ";" );
7878
int getFilesInDir( const std::string& dir, std::vector< std::string >& files );
7979
#endif
8080

0 commit comments

Comments
 (0)