The source project of this merge request has been removed.
Code cleanup: Move variable declarations and replace GList with std::vector
Use C++11 range-based for loop to iterate over the vector.
Use C++11 range-based for loop to iterate over the vector.