diff options
author | Aaron Seigo <aseigo@kde.org> | 2014-12-16 08:40:25 +0100 |
---|---|---|
committer | Aaron Seigo <aseigo@kde.org> | 2014-12-16 08:40:25 +0100 |
commit | a092eff6d12e6dff5ecba3deb63820a7735ad4b9 (patch) | |
tree | 791314948f8294a9c9486c575eb72d4f73b23f6d | |
parent | 34f9a1e827e37f7172d9ebea3e511e1349da1f7e (diff) | |
download | sink-a092eff6d12e6dff5ecba3deb63820a7735ad4b9.tar.gz sink-a092eff6d12e6dff5ecba3deb63820a7735ad4b9.zip |
typo in comment
-rw-r--r-- | common/clientapi.h | 2 |
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. |