Skip to content

Commit 52fbcbd

Browse files
committed
Docs: Fix some minor typos.
1 parent 4935445 commit 52fbcbd

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

sigc++/adaptors/adaptor_trait.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
* see that adaptors are implemented like they are because
4545
* there is no way to extract the return type and the argument
4646
* types from a functor type. Therefore, operator() is templated.
47-
* It's instatiated in slot_call#<>::operator() where the
47+
* It's instantiated in slot_call#<>::operator() where the
4848
* argument types are known. The return type is finally determined
4949
* via the callof<> template - a tricky way to detect the return
5050
* type of a functor when the argument types are known. Martin.

sigc++/connection.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
namespace sigc
2525
{
2626

27-
/** Convinience class for safe disconnection.
27+
/** Convenience class for safe disconnection.
2828
* Iterators must not be used beyond the lifetime of the list
2929
* they work on. A connection object can be created from a
3030
* slot list iterator and may safely be used to disconnect

sigc++/functors/slot_base.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ class SIGC_API slot_base
336336
*/
337337
void set_parent(notifiable* parent, notifiable::func_destroy_notify cleanup) const noexcept;
338338

339-
/** Add a callback that is executed (notified) when the slot is detroyed.
339+
/** Add a callback that is executed (notified) when the slot is destroyed.
340340
* This function is used internally by connection objects.
341341
* @param data Passed into func upon notification.
342342
* @param func Callback executed upon destruction of the object.

sigc++/signal_base.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ signal_impl::notify_self_and_iter_of_invalidated_slot(notifiable* d)
190190
}
191191
else
192192
{
193-
// This is occuring during signal emission or slot erasure.
193+
// This is occurring during signal emission or slot erasure.
194194
// => sweep() will be called from ~signal_impl_holder() after signal emission.
195195
// This is safer because we don't have to care about our
196196
// iterators in emit(), clear(), and erase().

0 commit comments

Comments
 (0)