From 33194e3fcd9691fd46ca08abdda21fb09817a807 Mon Sep 17 00:00:00 2001 From: Hieromon Ikasamo Date: Sun, 3 Feb 2019 03:59:58 +0900 Subject: [PATCH] Fixed argument passing --- src/AutoConnectAux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AutoConnectAux.h b/src/AutoConnectAux.h index 078aec1..889da26 100644 --- a/src/AutoConnectAux.h +++ b/src/AutoConnectAux.h @@ -61,7 +61,7 @@ class AutoConnectAux : public PageBuilder { bool release(const String& name); /**< Release an AutoConnectElement */ bool setElementValue(const String& name, const String value); /**< Set value to specified element */ bool setElementValue(const String& name, std::vector const& values); /**< Set values collection to specified element */ - void setTitle(const String title) { _title = title; } /**< Set a title of the auxiliary page */ + void setTitle(const String& title) { _title = title; } /**< Set a title of the auxiliary page */ void on(const AuxHandlerFunctionT handler, const AutoConnectExitOrder_t order = AC_EXIT_AHEAD) { _handler = handler; _order = order; } /**< Set user handler */ #ifdef AUTOCONNECT_USE_JSON