Skip to content

Commit

Permalink
Fixed renderHeader attribute processing
Browse files Browse the repository at this point in the history
  • Loading branch information
drug007 committed Jul 14, 2024
1 parent 2acd56d commit cb38ccf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion auxil/source/auxil/fixedappender.d
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
module auxil.fixedappender;

struct FixedAppender(size_t Size)
struct FixedAppender(size_t S)
{
alias Size = S;
void put(char c) pure
{
import std.exception : enforce;
Expand Down
2 changes: 1 addition & 1 deletion source/nanogui/experimental/details/list_visitors.d
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ struct RenderingVisitor
import nanogui.experimental.utils : hasRenderHeader;
static if (hasRenderHeader!data)
{
import auxil.model : FixedAppender;
import auxil.fixedappender : FixedAppender;
FixedAppender!512 app;
data.renderHeader(app);
auto header = app[];
Expand Down

0 comments on commit cb38ccf

Please sign in to comment.