diff options
Diffstat (limited to 'Reference.h')
-rw-r--r-- | Reference.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Reference.h b/Reference.h index 8a73609..e774bd2 100644 --- a/Reference.h +++ b/Reference.h @@ -73,7 +73,7 @@ struct Reference { bool hasLocation() const { return mLocation.isValid(); } - const Location& getLocation() const { + const Location& location() const { CHECK(hasLocation()); return mLocation; } |