aboutsummaryrefslogtreecommitdiff
path: root/src/univalue/include
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2016-09-30 19:58:11 +0200
committerMarcoFalke <falke.marco@gmail.com>2016-09-30 19:58:11 +0200
commite757115164c6f73c93a2d65a289b8a54e46c669d (patch)
treea6931a579a09cf0eb21464e3bfa0d8ae0641031b /src/univalue/include
parentf560d9564f74ae8f4b449121b22703b23db3d010 (diff)
parent2ca7faab4205822b06dc2ab2bbda0a9a70fce7e0 (diff)
Merge commit '2ca7faab4205822b06dc2ab2bbda0a9a70fce7e0' into HEAD
Diffstat (limited to 'src/univalue/include')
-rw-r--r--src/univalue/include/univalue.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/univalue/include/univalue.h b/src/univalue/include/univalue.h
index e48b905bfb..e8ce283519 100644
--- a/src/univalue/include/univalue.h
+++ b/src/univalue/include/univalue.h
@@ -142,10 +142,10 @@ private:
public:
// Strict type-specific getters, these throw std::runtime_error if the
// value is of unexpected type
- std::vector<std::string> getKeys() const;
- std::vector<UniValue> getValues() const;
+ const std::vector<std::string>& getKeys() const;
+ const std::vector<UniValue>& getValues() const;
bool get_bool() const;
- std::string get_str() const;
+ const std::string& get_str() const;
int get_int() const;
int64_t get_int64() const;
double get_real() const;