Chromium Code Reviews| Index: base/lazy_instance.h |
| diff --git a/base/lazy_instance.h b/base/lazy_instance.h |
| index fd0321017df8f8ba6643f1326db2db581fd05ed5..c030b5b4d636bad5b0a5b72806d70e3061974fdf 100644 |
| --- a/base/lazy_instance.h |
| +++ b/base/lazy_instance.h |
| @@ -97,8 +97,7 @@ struct LeakyLazyInstanceTraits { |
| ANNOTATE_SCOPED_MEMORY_LEAK; |
| return DefaultLazyInstanceTraits<Type>::New(instance); |
| } |
| - static void Delete(Type* instance) { |
| - } |
| + static void Delete(Type* /* instance */) {} |
|
danakj
2016/05/23 02:59:54
delete the name, it adds no value
Luis Héctor Chávez
2016/05/24 15:27:53
Done.
|
| }; |
| // Our AtomicWord doubles as a spinlock, where a value of |