Fix 'occurred' typo
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Sat, 23 May 2020 10:37:34 +0000 (12:37 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Sat, 23 May 2020 10:37:34 +0000 (12:37 +0200)
src/client_wrapper.hxx
src/connection.cpp
src/server.cpp

index 50d5df6..73fda24 100644 (file)
@@ -246,7 +246,7 @@ class T2nSingletonWrapper : public T2nSingletonWrapperMessages
             if (!WrappedConnection->handle(SingletonObject->Stub.get(),call))
             {
                 // create an result with default-constructor if the handler could not
-                // successfully do a call but no exception occured
+                // successfully do a call but no exception occurred
                 result=typename detail::TypeWrap<R>::type();
             }
             return result;
index f686aa0..6879067 100644 (file)
@@ -171,9 +171,9 @@ void connection::add_callback(callback_event_type event, const boost::function<v
     callbacks[event].push_back(func);
 }
 
-/** @brief an event has occured, execute the callbacks that are registered for this event
+/** @brief an event has occurred, execute the callbacks that are registered for this event
 
-    @param event event type that has occured
+    @param event event type that has occurred
 */
 void connection::do_callbacks(callback_event_type event)
 {
index 79b95b4..600cbef 100644 (file)
@@ -140,9 +140,9 @@ void server::add_callback(callback_event_type event, const boost::function<void
 }
 
 
-/** @brief an event occured, call all server-side callbacks
+/** @brief an event occurred, call all server-side callbacks
 
-    @param event event that occured
+    @param event event that occurred
     @param conn_id connection-id parameter that will be given to the callback-function
 */
 void server::do_callbacks(callback_event_type event, unsigned int conn_id)