Is this considered flirting?

A client today complimented my accent and told me "I could listen to you talk all day long".

In conversation, I told a coworker about it, and later on he was sat between myself and another coworker. As he was getting out of his chair he said in a low voice "tell you what (name), I could listen to you talk all day long" and left.

I laughed at it but when I turned around he was speaking with another coworker but he didn't look as though he was joking. Was it flirting?

Is this considered flirting?
Post Opinion