C++: StdSet should be private as well.

This commit is contained in:
Geoffrey White
2021-02-12 16:29:44 +00:00
parent df91b8182c
commit d362b5aa65

View File

@@ -8,7 +8,7 @@ import semmle.code.cpp.models.interfaces.Iterator
/**
* An instantiation of `std::set` or `std::unordered_set`.
*/
class StdSet extends ClassTemplateInstantiation {
private class StdSet extends ClassTemplateInstantiation {
StdSet() { this.hasQualifiedName(["std", "bsl"], ["set", "unordered_set"]) }
}