We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11aaef3 commit 9833500Copy full SHA for 9833500
1 file changed
lib/include/pl/patterns/pattern.hpp
@@ -203,7 +203,8 @@ namespace pl::ptrn {
203
else return this->m_endian.value_or(this->m_evaluator->getDefaultEndian());
204
}
205
virtual void setEndian(std::endian endian) {
206
- if (this->isLocal()) return;
+ if (m_section == HeapSectionId || m_section == PatternLocalSectionId || m_section == InstantiationSectionId)
207
+ return;
208
209
this->m_endian = endian;
210
0 commit comments