From 8bc117792fbf118dd74d015546c22612961ccc26 Mon Sep 17 00:00:00 2001 From: Patrick Venture Date: Tue, 4 Jun 2019 07:20:24 -0700 Subject: blobs: s/struct BlobMeta/BlobMeta/g Because this structure is not anything special, simply use the cpp idiomatic way of referencing the object. Consistently, structures that are packed still have "struct" used in declarations. However, this distinction is only clear through its usage and nothing in the language. Perhaps a better approach would be notational naming struct PackedXYZ {};. However, that can get out of control quickly. Signed-off-by: Patrick Venture Change-Id: I3b7e48e4b6687ef2e15e9d07c0eeba96eb5d2552 --- blobs-ipmid/blobs.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'blobs-ipmid/blobs.hpp') diff --git a/blobs-ipmid/blobs.hpp b/blobs-ipmid/blobs.hpp index e75495b..ab0b567 100644 --- a/blobs-ipmid/blobs.hpp +++ b/blobs-ipmid/blobs.hpp @@ -91,7 +91,7 @@ class GenericBlobInterface * @param[in,out] meta - a pointer to a blobmeta. * @return bool - true if it was successful. */ - virtual bool stat(const std::string& path, struct BlobMeta* meta) = 0; + virtual bool stat(const std::string& path, BlobMeta* meta) = 0; /* The methods below are per session. */ @@ -163,7 +163,7 @@ class GenericBlobInterface * @param[in,out] meta - pointer to update with the BlobMeta. * @return bool - wether it was successful. */ - virtual bool stat(uint16_t session, struct BlobMeta* meta) = 0; + virtual bool stat(uint16_t session, BlobMeta* meta) = 0; /** * Attempt to expire a session. This is called when a session has been -- cgit v1.2.3