Skip to content

Commit bed66ab

Browse files
authored
Merge pull request #580 from toge/fix-Callbacks-constructor
fix compilation error when RYML_NO_DEFAULT_CALLBACKS is defined
2 parents ddc039e + 8864475 commit bed66ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/c4/yml/common.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,9 @@ Callbacks::Callbacks(void *user_data, pfn_allocate alloc_, pfn_free free_, pfn_e
133133
#else
134134
m_allocate(alloc_),
135135
m_free(free_),
136-
m_error_basic(error_),
136+
m_error_basic(error_basic_),
137137
m_error_parse(nullptr),
138-
m_error_visit(nullptr),
138+
m_error_visit(nullptr)
139139
#endif
140140
{
141141
}

0 commit comments

Comments
 (0)