diff options
author | Determinant <[email protected]> | 2019-07-02 01:51:06 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2019-07-02 01:51:06 -0400 |
commit | 12c0f971eef91ea04a3a2cfe1c0733924be6963a (patch) | |
tree | f999bd14e1f0a5f0ff10b706f17e58a1b5d2040f /include | |
parent | 53f776997d0e92650b9f3a16224cef1c0c76b716 (diff) |
...
Diffstat (limited to 'include')
-rw-r--r-- | include/salticidae/ref.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/salticidae/ref.h b/include/salticidae/ref.h index 9f4bfed..bb8efc0 100644 --- a/include/salticidae/ref.h +++ b/include/salticidae/ref.h @@ -117,6 +117,7 @@ class _BoxObj { template<typename T, typename D = default_delete<T>> class BoxObj: public _BoxObj<T, D> { using base_t = _BoxObj<T, D>; + friend std::hash<BoxObj>; template<typename T__, typename D__, typename T_, typename D_> friend BoxObj<T__, D__> static_pointer_cast(BoxObj<T_, D_> &&other); @@ -133,6 +134,7 @@ class BoxObj: public _BoxObj<T, D> { template<typename T, typename D> class BoxObj<T[], D>: public _BoxObj<T, D> { using base_t = _BoxObj<T, D>; + friend std::hash<BoxObj>; template<typename T__, typename D__, typename T_, typename D_> friend BoxObj<T__, D__> static_pointer_cast(BoxObj<T_, D_> &&other); |