Updated to naming conventions

This commit is contained in:
Fantasmos 2017-10-28 12:59:04 +11:00
parent cb1a2b1e25
commit d366dd84cd

View File

@ -346,9 +346,9 @@ MapUserConfigParam<T, U>::MapUserConfigParam(const char* param_name,
// add the default list
va_list arguments;
va_start(arguments, nb_elements);
typedef std::pair<T, U> PairType; //Necessary to prevent compile error below
typedef std::pair<T, U> pair_type; //Necessary to prevent compile error below
for (int i = 0; i < nb_elements; i++) {
std::pair<T, U> key_value_pair = va_arg(arguments, PairType);
std::pair<T, U> key_value_pair = va_arg(arguments, pair_type);
m_elements.insert(key_value_pair);
}
va_end(arguments); // Cleans up the list