From 9da3a4b29479ded57c844a35e587a3ba7c2e9918 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 22 Apr 2016 22:08:48 +0100 Subject: Expose const data --- gentoobrowse-api/service/fileUtils.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gentoobrowse-api/service/fileUtils.h b/gentoobrowse-api/service/fileUtils.h index de6dc79..d73b1ef 100644 --- a/gentoobrowse-api/service/fileUtils.h +++ b/gentoobrowse-api/service/fileUtils.h @@ -34,8 +34,7 @@ namespace Gentoo { MemMap(const boost::filesystem::path & path); ~MemMap(); - protected: - void * data; + void * const data; }; } -- cgit v1.2.3