Skip to content

Commit de54d4a

Browse files
committed
Update ex14_32.h
Add const to header.
1 parent 5becd6a commit de54d4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ch14/ex14_32.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ class StrBlobPtr_pointer
1919
StrBlobPtr_pointer() = default;
2020
StrBlobPtr_pointer(StrBlobPtr* p) : pointer(p) { }
2121

22-
StrBlobPtr& operator *();
23-
StrBlobPtr* operator->();
22+
StrBlobPtr& operator *() const;
23+
StrBlobPtr* operator->() const;
2424

2525
private:
2626
StrBlobPtr* pointer = nullptr;

0 commit comments

Comments
 (0)