Skip to content

Commit 4aa2cb0

Browse files
committed
used codespell to fix spellcheck errors
Signed-off-by: root <leo.daniel.lin@gmail.com>
1 parent f6bc591 commit 4aa2cb0

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

core/include/gz/plugin/Factory.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ namespace gz
107107
/// never need to call this function.
108108
///
109109
/// \warning Note that this function should be called ONLY while there are
110-
/// no Products that are actively destructing, or else there is a miniscule
110+
/// no Products that are actively destructing, or else there is a minuscule
111111
/// probability of causing a segmentation fault. This is never an issue in a
112112
/// single-threaded application.
113113
///

core/include/gz/plugin/detail/SpecializedPlugin.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ namespace gz
218218
/// the ComposePlugin class.
219219
///
220220
/// The dispatch is performed by casting this object to the type that
221-
/// specializes for the requested Interface, if such a type is availabe
221+
/// specializes for the requested Interface, if such a type is available
222222
/// within its inheritance structure. Otherwise, we cast to the generic
223223
/// Plugin type.
224224
#define DETAIL_GZ_PLUGIN_COMPOSEPLUGIN_DISPATCH( \

core/src/Plugin.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ namespace gz
224224
/// \param[in] _info
225225
/// A reference to the plugin's Info
226226
/// \param[in] _instance
227-
/// A reference to the plugin's abstact instance
227+
/// A reference to the plugin's abstract instance
228228
public: void Copy(const ConstInfoPtr &_info,
229229
const std::shared_ptr<void> &_instance)
230230
{

loader/include/gz/plugin/detail/StaticRegistry.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ namespace gz
7272
public: virtual void ForgetInfo(
7373
const std::string &/*_pluginName*/) override { }
7474

75-
/// \brief Construtor
75+
/// \brief Constructor
7676
protected: StaticRegistry() = default;
7777

7878
/// \brief Holds info required to construct a plugin

test/integration/plugin.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ TEST(SpecializedPluginPtr, Construction)
216216
EXPECT_EQ(newIntValue, fooBase->MyIntegerValueIs());
217217

218218
// SomeSpecializedPluginPtr is not specialized for DummyDoubleBase, so here we
219-
// make sure that it is not being retrieved through specialized acccess.
219+
// make sure that it is not being retrieved through specialized access.
220220
usedSpecializedInterfaceAccess = false;
221221
test::util::DummyDoubleBase *doubleBase =
222222
plugin->QueryInterface<test::util::DummyDoubleBase>();
@@ -586,7 +586,7 @@ TEST(PluginPtr, LibraryManagement)
586586

587587
CHECK_FOR_LIBRARY(path, false);
588588

589-
// Check that mulitple Loaders can work side-by-side
589+
// Check that multiple Loaders can work side-by-side
590590
{
591591
gz::plugin::Loader pl1;
592592
pl1.LoadLib(path);

test/integration/plugin_unload_with_nodelete.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ TEST(PluginsWithNoDelete,
2525
{
2626
LoadAndTestInstanceCounter(true, 1);
2727
// Since the plugin is not deleted on unload, the second time we load the
28-
// plugin, the instance count is incremenetd.
28+
// plugin, the instance count is incremented.
2929
LoadAndTestInstanceCounter(true, 2);
3030
}

tutorials/01_intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ following concepts:
1818
The **loader** component can dynamically load plugin interfaces at runtime
1919
either by specifying a desired plugin or by listing plugins within a library
2020
file that provide a specific interface.
21-
There are highly performant ways to get direct access to a plugin interace
21+
There are highly performant ways to get direct access to a plugin interface
2222
that can be anticipated ahead of time by specializing the `Plugin` object at
2323
compile time.
2424
The loader also can use reference counting of plugin objects to unload

0 commit comments

Comments
 (0)