Github user phrocker commented on a diff in the pull request:
https://github.com/apache/nifi-minifi-cpp/pull/148#discussion_r145688553
--- Diff: libminifi/include/core/FlowFile.h ---
@@ -50,6 +50,32 @@ class FlowFile : public core::Connectable {
void clearResourceClaim();
/**
+ * Returns a pointer to this flow file record's
+ * claim at the given stash key
+ */
+ std::shared_ptr<ResourceClaim> getStashClaim(const std::string &key);
+
+ /**
+ * Sets the given stash key to the inbound claim argument
+ */
+ void setStashClaim(const std::string &key,
std::shared_ptr<ResourceClaim> &claim);
--- End diff --
please use const on all shared ptrs
---