summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/clientapi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/clientapi.h b/common/clientapi.h
index 88cdfcb..7f01587 100644
--- a/common/clientapi.h
+++ b/common/clientapi.h
@@ -327,7 +327,7 @@ public:
327 * Allows the registrar to register a specific instance. 327 * Allows the registrar to register a specific instance.
328 * 328 *
329 * Primarily for testing. 329 * Primarily for testing.
330 * The facade factory takes ovnership of the poniter and typically deletes the instance via shared pointer. 330 * The facade factory takes ovnership of the pointer and typically deletes the instance via shared pointer.
331 * Supplied factory functions should therefore always return a new pointer (i.e. via clone()) 331 * Supplied factory functions should therefore always return a new pointer (i.e. via clone())
332 * 332 *
333 * FIXME the factory function should really be returning QSharedPointer<void>, which doesn't work (std::shared_pointer<void> would though). That way i.e. a test could keep the object alive until it's done. 333 * FIXME the factory function should really be returning QSharedPointer<void>, which doesn't work (std::shared_pointer<void> would though). That way i.e. a test could keep the object alive until it's done.