Skip to content

used codespell to fix spellcheck errors. #168

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/include/gz/plugin/Factory.hh
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ namespace gz
/// never need to call this function.
///
/// \warning Note that this function should be called ONLY while there are
/// no Products that are actively destructing, or else there is a miniscule
/// no Products that are actively destructing, or else there is a minuscule
/// probability of causing a segmentation fault. This is never an issue in a
/// single-threaded application.
///
Expand Down
2 changes: 1 addition & 1 deletion core/include/gz/plugin/detail/SpecializedPlugin.hh
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ namespace gz
/// the ComposePlugin class.
///
/// The dispatch is performed by casting this object to the type that
/// specializes for the requested Interface, if such a type is availabe
/// specializes for the requested Interface, if such a type is available
/// within its inheritance structure. Otherwise, we cast to the generic
/// Plugin type.
#define DETAIL_GZ_PLUGIN_COMPOSEPLUGIN_DISPATCH( \
Expand Down
2 changes: 1 addition & 1 deletion core/src/Plugin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ namespace gz
/// \param[in] _info
/// A reference to the plugin's Info
/// \param[in] _instance
/// A reference to the plugin's abstact instance
/// A reference to the plugin's abstract instance
public: void Copy(const ConstInfoPtr &_info,
const std::shared_ptr<void> &_instance)
{
Expand Down
2 changes: 1 addition & 1 deletion loader/include/gz/plugin/detail/StaticRegistry.hh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ namespace gz
public: virtual void ForgetInfo(
const std::string &/*_pluginName*/) override { }

/// \brief Construtor
/// \brief Constructor
protected: StaticRegistry() = default;

/// \brief Holds info required to construct a plugin
Expand Down
4 changes: 2 additions & 2 deletions test/integration/plugin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ TEST(SpecializedPluginPtr, Construction)
EXPECT_EQ(newIntValue, fooBase->MyIntegerValueIs());

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

CHECK_FOR_LIBRARY(path, false);

// Check that mulitple Loaders can work side-by-side
// Check that multiple Loaders can work side-by-side
{
gz::plugin::Loader pl1;
pl1.LoadLib(path);
Expand Down
2 changes: 1 addition & 1 deletion test/integration/plugin_unload_with_nodelete.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ TEST(PluginsWithNoDelete,
{
LoadAndTestInstanceCounter(true, 1);
// Since the plugin is not deleted on unload, the second time we load the
// plugin, the instance count is incremenetd.
// plugin, the instance count is incremented.
LoadAndTestInstanceCounter(true, 2);
}
2 changes: 1 addition & 1 deletion tutorials/01_intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ following concepts:
The **loader** component can dynamically load plugin interfaces at runtime
either by specifying a desired plugin or by listing plugins within a library
file that provide a specific interface.
There are highly performant ways to get direct access to a plugin interace
There are highly performant ways to get direct access to a plugin interface
that can be anticipated ahead of time by specializing the `Plugin` object at
compile time.
The loader also can use reference counting of plugin objects to unload
Expand Down