We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07307c4 commit 87be1a2Copy full SHA for 87be1a2
include/nanobind/intrusive/ref.h
@@ -43,7 +43,7 @@ template <typename T> class ref {
43
/// Copy a reference, increases the reference count
44
ref(const ref &r) : m_ptr(r.m_ptr) { inc_ref((intrusive_base *) m_ptr); }
45
46
- /// Move a reference witout changing the reference count
+ /// Move a reference without changing the reference count
47
ref(ref &&r) noexcept : m_ptr(r.m_ptr) { r.m_ptr = nullptr; }
48
49
/// Destroy this reference
0 commit comments