diff options
author | Lars Knoll <lars.knoll@digia.com> | 2012-11-27 23:23:04 +0100 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@digia.com> | 2012-11-28 09:59:26 +0100 |
commit | 94a344c01a62fe32ffbc0f04cefe8daabcfab7a1 (patch) | |
tree | 05723dea214166b03f137bfeb5bb9cfca02e29a9 /qmljs_objects.h | |
parent | 1dbad2e68953f9e2d30bce44b3d02dd65c273c9a (diff) |
Obey strict mode for property getters and setters
Change-Id: I6f51cd72c2607989c55373dfee53130381f5ef75
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Diffstat (limited to 'qmljs_objects.h')
-rw-r--r-- | qmljs_objects.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qmljs_objects.h b/qmljs_objects.h index 55907e10e0..45e301c56e 100644 --- a/qmljs_objects.h +++ b/qmljs_objects.h @@ -408,11 +408,11 @@ struct Object { virtual Value __get__(ExecutionContext *ctx, String *name); virtual PropertyDescriptor *__getOwnProperty__(ExecutionContext *ctx, String *name); virtual PropertyDescriptor *__getPropertyDescriptor__(ExecutionContext *ctx, String *name, PropertyDescriptor *to_fill); - virtual void __put__(ExecutionContext *ctx, String *name, const Value &value, bool throwException = false); + virtual void __put__(ExecutionContext *ctx, String *name, const Value &value); virtual bool __canPut__(ExecutionContext *ctx, String *name); virtual bool __hasProperty__(ExecutionContext *ctx, String *name) const; - virtual bool __delete__(ExecutionContext *ctx, String *name, bool throwException = false); - virtual bool __defineOwnProperty__(ExecutionContext *ctx, String *name, PropertyDescriptor *desc, bool throwException = false); + virtual bool __delete__(ExecutionContext *ctx, String *name); + virtual bool __defineOwnProperty__(ExecutionContext *ctx, String *name, PropertyDescriptor *desc); // // helpers |