Add cancel button to password change menu. (#5720)
[oweals/minetest.git] / src / activeobject.h
index fe6c085141df192cccca5b3f37f8c193a505a1e4..71b9df5147b545a7f3eb237eda5c987349134757 100644 (file)
@@ -43,7 +43,7 @@ enum ActiveObjectType {
 
 struct ActiveObjectMessage
 {
-       ActiveObjectMessage(u16 id_, bool reliable_=true, std::string data_=""):
+       ActiveObjectMessage(u16 id_, bool reliable_=true, const std::string &data_ = "") :
                id(id_),
                reliable(reliable_),
                datastring(data_)