summaryrefslogtreecommitdiff
path: root/src/blob.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/blob.h')
-rw-r--r--src/blob.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blob.h b/src/blob.h
index e1dd86f..335186e 100644
--- a/src/blob.h
+++ b/src/blob.h
@@ -9,7 +9,7 @@ namespace GitFS {
class Repo;
class Blob : public File {
public:
- Blob(const Repo * r, const std::string &);
+ Blob(const Repo * const r, const std::string &);
void close(const ::Ice::Current& current) override;
Attr fgetattr(ReqEnv env, const ::Ice::Current& current) override;
@@ -19,7 +19,7 @@ namespace GitFS {
private:
Git::BlobPtr getBlob() const;
- const Repo * repo;
+ const Repo * const repo;
Git::TreeEntryPtr entry;
Git::BlobPtr blob;
const decltype(git_blob_rawsize({})) blobSize;