summaryrefslogtreecommitdiff
path: root/src/MetadataInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/MetadataInfo.h')
-rw-r--r--src/MetadataInfo.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/MetadataInfo.h b/src/MetadataInfo.h
index 7e9b1cd9..88948d0c 100644
--- a/src/MetadataInfo.h
+++ b/src/MetadataInfo.h
@@ -48,6 +48,7 @@ class MetadataInfo {
private:
std::shared_ptr<GroupId> gid_;
std::string uri_;
+
public:
MetadataInfo(const std::shared_ptr<GroupId>& gid, const std::string& uri);
@@ -55,15 +56,9 @@ public:
~MetadataInfo();
- bool dataOnly() const
- {
- return !gid_;
- }
+ bool dataOnly() const { return !gid_; }
- const std::string& getUri() const
- {
- return uri_;
- }
+ const std::string& getUri() const { return uri_; }
a2_gid_t getGID() const;
};