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
commitc669bbaece47f06f9746845b0d2a42f8cd7e741e (patch)
tree6fdc9014468dbaa8b8cc4d0747ae433c35be0df2
parentExpose stat data (diff)
downloadgentoobrowse-api-c669bbaece47f06f9746845b0d2a42f8cd7e741e.tar.bz2
gentoobrowse-api-c669bbaece47f06f9746845b0d2a42f8cd7e741e.tar.xz
gentoobrowse-api-c669bbaece47f06f9746845b0d2a42f8cd7e741e.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;
};
}