Make two more IncludeResult members const.

This commit is contained in:
Dejan Mircevski 2016-04-12 12:07:27 -04:00
Родитель a42533eca1
Коммит 51eb91f272
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -320,13 +320,13 @@ public:
// include. For example, in a filesystem-based includer, full resolution
// should convert a relative path name into an absolute path name.
// For a failed inclusion, this is an empty string.
std::string file_name;
const std::string file_name;
// The content and byte length of the requested inclusion. The
// Includer producing this IncludeResult retains ownership of the
// storage.
// For a failed inclusion, the file_data
// field points to a string containing error details.
const char* file_data;
const char* const file_data;
const size_t file_length;
// Include resolver's context.
void* user_data;