MCPcopy Create free account
hub / github.com/BowenFu/matchit.cpp / confirm

Method confirm

include/matchit.h:1154–1161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1152 }
1153 }
1154 constexpr void confirm(int32_t depth)
1155 {
1156 if (mDepth > depth || mDepth == 0)
1157 {
1158 assert(depth == mDepth - 1 || depth == mDepth || mDepth == 0);
1159 mDepth = depth;
1160 }
1161 }
1162 };
1163 class IdUtil
1164 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected