Merge pull request #230 from dekimir/incresconst
Make two more IncludeResult members const.
This commit is contained in:
commit
5a7f0eff69
1 changed files with 2 additions and 2 deletions
|
|
@ -327,13 +327,13 @@ public:
|
||||||
// include. For example, in a filesystem-based includer, full resolution
|
// include. For example, in a filesystem-based includer, full resolution
|
||||||
// should convert a relative path name into an absolute path name.
|
// should convert a relative path name into an absolute path name.
|
||||||
// For a failed inclusion, this is an empty string.
|
// 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
|
// The content and byte length of the requested inclusion. The
|
||||||
// Includer producing this IncludeResult retains ownership of the
|
// Includer producing this IncludeResult retains ownership of the
|
||||||
// storage.
|
// storage.
|
||||||
// For a failed inclusion, the file_data
|
// For a failed inclusion, the file_data
|
||||||
// field points to a string containing error details.
|
// field points to a string containing error details.
|
||||||
const char* file_data;
|
const char* const file_data;
|
||||||
const size_t file_length;
|
const size_t file_length;
|
||||||
// Include resolver's context.
|
// Include resolver's context.
|
||||||
void* user_data;
|
void* user_data;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue