Add missing "=" to the example of using tie()

This commit is contained in:
Vadim Zeitlin 2015-09-21 16:17:24 +02:00
parent 7a49af2dfc
commit 7b38170ebc

View File

@ -1259,7 +1259,7 @@ consider using a style that returns a pair of values:
int val;
int error_code;
tie(val,error_code) do_something();
tie(val,error_code) = do_something();
if (error_code==0) {
// ... handle the error or exit ...
}