summaryrefslogtreecommitdiff
path: root/core/array.h
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2016-10-03 11:34:03 +0200
committerGitHub <noreply@github.com>2016-10-03 11:34:03 +0200
commitcf4693cf18ec6ccdd3ccb4e416d3520efbf26010 (patch)
treed748b06d5225bd2ed29861c79bfa8212c4499523 /core/array.h
parent3ecd8560fd90a615d80a447b04e713bb2c600fe4 (diff)
parent1a7aae7443194f7d6137901af369c843b3911b4f (diff)
Merge pull request #6304 from razvanc-r/master
(Array) .pop_front, .pop_back & .remove return values instead of void
Diffstat (limited to 'core/array.h')
-rw-r--r--core/array.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/array.h b/core/array.h
index dfc902525c..eb79b0cf33 100644
--- a/core/array.h
+++ b/core/array.h
@@ -80,8 +80,8 @@ public:
void erase(const Variant& p_value);
void push_front(const Variant& p_value);
- void pop_back();
- void pop_front();
+ Variant pop_back();
+ Variant pop_front();
Array(const Array& p_from);
Array(bool p_shared=false);