diff options
Diffstat (limited to 'tests/test_cpp11_lambda.cc')
-rw-r--r-- | tests/test_cpp11_lambda.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_cpp11_lambda.cc b/tests/test_cpp11_lambda.cc index b9e47ca..a8e90b2 100644 --- a/tests/test_cpp11_lambda.cc +++ b/tests/test_cpp11_lambda.cc @@ -88,7 +88,7 @@ egon(std::string& str) struct book : public sigc::trackable { explicit book(const std::string& name) : name_(name) {} - operator std::string&() { return name_; } + operator std::string &() { return name_; } std::string name_; }; |