summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2016-04-22 22:08:48 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2016-04-25 21:27:49 +0100
commit9da3a4b29479ded57c844a35e587a3ba7c2e9918 (patch)
tree6fdc9014468dbaa8b8cc4d0747ae433c35be0df2
parentExpose stat data (diff)
downloadgentoobrowse-api-9da3a4b29479ded57c844a35e587a3ba7c2e9918.tar.bz2
gentoobrowse-api-9da3a4b29479ded57c844a35e587a3ba7c2e9918.tar.xz
gentoobrowse-api-9da3a4b29479ded57c844a35e587a3ba7c2e9918.zip
Expose const data
-rw-r--r--gentoobrowse-api/service/fileUtils.h3
1 files changed, 1 insertions, 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;
};
}