[libzmq] const string p -> const string& p (#860)

This commit is contained in:
Pavel Pimenov
2014-01-29 15:58:53 +04:00
parent e436073b37
commit 5dd82a6fa6
2 changed files with 4 additions and 4 deletions

View File

@@ -86,7 +86,7 @@ namespace zmq
// parsing remaining data.
// Derived classes are supposed to override this
// method to handle custom processing.
virtual int property (const std::string name_,
virtual int property (const std::string& name_,
const void *value_, size_t length_);
options_t options;
@@ -99,7 +99,7 @@ namespace zmq
// Returns true iff socket associated with the mechanism
// is compatible with a given socket type 'type_'.
bool check_socket_type (const std::string type_) const;
bool check_socket_type (const std::string& type_) const;
};
}