compilerplugins: get rid of std::auto_ptr in comment
Change-Id: Ia2b1bc97f3476da7bfbe659e5160cd5c73c01ce5
This commit is contained in:
@@ -30,7 +30,7 @@ Check for unused classes where the compiler cannot decide (e.g. because of
|
||||
non-trivial or extern ctors) if a variable is unused if only its ctor/dtor
|
||||
are called and nothing else. For example std::vector is a class where
|
||||
the ctor may call further functions, but an unused std::string variable
|
||||
does nothing. On the other hand, std::auto_ptr instances are used
|
||||
does nothing. On the other hand, std::lock_guard instances are used
|
||||
for their dtors and so are not unused even if not otherwise accessed.
|
||||
|
||||
Classes which are safe to be warned about need to be marked using
|
||||
|
Reference in New Issue
Block a user