From c669bbaece47f06f9746845b0d2a42f8cd7e741e 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