MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / refsContain

Function refsContain

lib/utils/temp-variable.cpp:135–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135static bool refsContain(const std::vector<TempVariableRef> &refs,
136 const TempVariableRef &ref)
137{
138 for (const auto &r : refs) {
139 if (r == ref) {
140 return true;
141 }
142 }
143 return false;
144}
145
146template<typename T>
147static bool segmentsReferTo(const T &segments, const TempVariableRef &ref)

Callers 1

segmentsReferToFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected