mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 06:11:16 +00:00
Silence exhale error
Doxygen would still generate xml for private_api::ArrayModel and would try to resolve a reference to iself, which is not possible because we've excluded the namespace: ``` stderr: (!) Critical error while generating the file for [/home/vagrant/sixtyfps/target/cppdocs/api/classsixtyfps_1_1Model.rst].Traceback (most recent call last): File "/home/vagrant/.local/share/virtualenvs/docs-4wjFCyEr/lib/python3.8/site-packages/exhale/graph.py", line 2591, in generateSingleNodeRST gen_file.write("{0}\n".format(node.baseOrDerivedListString( File "/home/vagrant/.local/share/virtualenvs/docs-4wjFCyEr/lib/python3.8/site-packages/exhale/graph.py", line 393, in baseOrDerivedListString link=nodeByRefid[refid].link_name KeyError: 'classsixtyfps_1_1private__api_1_1ArrayModel' ``` Making the entire class as \private works around it. Oddly, this isn't needed for IntModel, perhaps because it's not a template?
This commit is contained in:
parent
918fa68c28
commit
3ab287223c
1 changed files with 1 additions and 0 deletions
|
@ -383,6 +383,7 @@ private:
|
|||
|
||||
namespace private_api {
|
||||
/// A Model backed by a std::array of constant size
|
||||
/// \private
|
||||
template<int Count, typename ModelData>
|
||||
class ArrayModel : public Model<ModelData>
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue