Browse Source

python: fix wrongly copypasted comment.

next
Vladimír Vondruš 3 years ago
parent
commit
157c883be4
  1. 6
      src/python/corrade/pluginmanager.h

6
src/python/corrade/pluginmanager.h

@ -35,9 +35,9 @@
namespace Corrade { namespace PluginManager { namespace Corrade { namespace PluginManager {
/* Stores additional stuff needed for proper refcounting of array views. Due /* Stores additional stuff needed for proper refcounting of plugin instances.
to obvious reasons we can't subclass plugins so this is the only possible Due to obvious reasons we can't subclass plugins so this is the only
way. */ possible way. */
template<class T> struct PyPluginHolder: std::unique_ptr<T> { template<class T> struct PyPluginHolder: std::unique_ptr<T> {
explicit PyPluginHolder(T*) { explicit PyPluginHolder(T*) {
/* Pybind needs this signature, but it should never be called */ /* Pybind needs this signature, but it should never be called */

Loading…
Cancel
Save