Skip to content

Commit

Permalink
bring back allowed types comment
Browse files Browse the repository at this point in the history
  • Loading branch information
m-fila committed Sep 26, 2024
1 parent cd476f6 commit 3ac6d7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/templates/Interface.h.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ private:
std::unique_ptr<Concept> m_self{nullptr};

public:
template<typename ValueT, typename = std::enable_if_t<isInitializableFrom<ValueT>>>
template<typename ValueT, typename = std::enable_if_t<isInitializableFrom<ValueT>>> // "{{ class.bare_type }} can only be initialized with one of the following types (and their Mutable counter parts): {{ Types | join(", ") }}");
{{ class.bare_type }}(ValueT value) :
m_self(std::make_unique<Model<podio::detail::GetDefaultHandleType<ValueT>>>(value)) {
}
Expand Down

0 comments on commit 3ac6d7b

Please sign in to comment.