Note: The default ITS GitLab runner is a shared resource and is subject to slowdowns during heavy usage.
You can run your own GitLab runner that is dedicated just to your group if you need to avoid processing delays.

Commit 334d14e3 authored by Bing Schaefer's avatar Bing Schaefer Committed by Andrew J Zhou
Browse files

Fixed compilation issue on Mac

parent 75616103
......@@ -261,7 +261,7 @@ void MusicLibrary::read_data() {
// Reserve the exact amount of memory needed
// to fit all the songs.
// Read to the end of the CSV file.
while (std::getline(std::cin,, ',')) {
......@@ -314,7 +314,7 @@ void MusicLibrary::run() {
// Print out the first num_print songs with the
// overloaded stream insertion operator.
for (int i = 0; i < num_print; ++i)
std::cout << music[i] << std::endl;
std::cout << music[size_t(i)] << std::endl;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment