Changed instances of string to std::string.