util: Fix bug: SignedBlob::getSignedPortionBeginOffset and getSignedPortionEndOffset should be declared const.
diff --git a/include/ndn-cpp/util/signed-blob.hpp b/include/ndn-cpp/util/signed-blob.hpp
index 6dac765..1ad2d25 100644
--- a/include/ndn-cpp/util/signed-blob.hpp
+++ b/include/ndn-cpp/util/signed-blob.hpp
@@ -103,13 +103,13 @@
* Return the offset in the array of the beginning of the signed portion.
*/
size_t
- getSignedPortionBeginOffset() { return signedPortionBeginOffset_; }
+ getSignedPortionBeginOffset() const { return signedPortionBeginOffset_; }
/**
* Return the offset in the array of the end of the signed portion.
*/
size_t
- getSignedPortionEndOffset() { return signedPortionEndOffset_; }
+ getSignedPortionEndOffset() const { return signedPortionEndOffset_; }
private:
size_t signedPortionBeginOffset_;