Fixing the errors for my first attempt at using C++11.