summaryrefslogtreecommitdiff
path: root/base/bind_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/bind_internal.h')
-rw-r--r--base/bind_internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/bind_internal.h b/base/bind_internal.h
index 5845a4d..17f78a3d 100644
--- a/base/bind_internal.h
+++ b/base/bind_internal.h
@@ -470,8 +470,8 @@ struct BindState final : BindStateBase {
~BindState() {}
- static void Destroy(BindStateBase* self) {
- delete static_cast<BindState*>(self);
+ static void Destroy(const BindStateBase* self) {
+ delete static_cast<const BindState*>(self);
}
};