summaryrefslogtreecommitdiffstats
path: root/blobs-ipmid/blobs.hpp
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2019-06-04 07:20:24 -0700
committerPatrick Venture <venture@google.com>2019-06-17 18:51:19 +0000
commit8bc117792fbf118dd74d015546c22612961ccc26 (patch)
tree561a4dbb372b4a8811ba66e8f8beac8da31bb6f1 /blobs-ipmid/blobs.hpp
parenta67323a86ec201d9292d2743a707ac04909615e3 (diff)
downloadphosphor-ipmi-blobs-8bc117792fbf118dd74d015546c22612961ccc26.tar.gz
phosphor-ipmi-blobs-8bc117792fbf118dd74d015546c22612961ccc26.zip
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 <venture@google.com> Change-Id: I3b7e48e4b6687ef2e15e9d07c0eeba96eb5d2552
Diffstat (limited to 'blobs-ipmid/blobs.hpp')
-rw-r--r--blobs-ipmid/blobs.hpp4
1 files changed, 2 insertions, 2 deletions
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
OpenPOWER on IntegriCloud