Commit dcd8ad25 authored by Albert Astals Cid's avatar Albert Astals Cid

Also delete Object::dictAdd that takes a char *

Makes sure noone gets a char * -> const char * promotion via Object
parent d63564b2
Pipeline #3485 passed with stage
in 3 minutes and 12 seconds
......@@ -15,7 +15,7 @@
//
// Copyright (C) 2007 Julien Rebetez <julienr@svn.gnome.org>
// Copyright (C) 2008 Kees Cook <kees@outflux.net>
// Copyright (C) 2008, 2010, 2017 Albert Astals Cid <aacid@kde.org>
// Copyright (C) 2008, 2010, 2017, 2018 Albert Astals Cid <aacid@kde.org>
// Copyright (C) 2009 Jakub Wilk <jwilk@jwilk.net>
// Copyright (C) 2012 Fabio D'Urso <fabiodurso@hotmail.it>
// Copyright (C) 2013 Thomas Freitag <Thomas.Freitag@alfa.de>
......@@ -264,6 +264,7 @@ public:
// Dict accessors.
int dictGetLength() const;
void dictAdd(char *key, Object &&val) = delete;
void dictAdd(const char *key, Object &&val);
void dictSet(const char *key, Object &&val);
void dictRemove(const char *key);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment