Use ADL to skip std:: qualifier
authorMarco Costalba <mcostalba@gmail.com>
Sun, 18 Dec 2011 19:48:59 +0000 (20:48 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 18 Dec 2011 20:18:51 +0000 (21:18 +0100)
commit939b621e5c67e9ef89b409fd773d38058341906c
tree926c414a23b266c3dd48aabc8acaa307c1d84540
parenta77a3b723f1cb7ddcb9313888d779b48551e0501
Use ADL to skip std:: qualifier

Take advantage of argument-dependent lookup (ADL) to
avoid specifying std:: qualifier in some STL functions.
When a function argument refers to a namespace (in this
case std) then the compiler will search the unqualified
function in that namespace too.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/search.cpp
src/ucioption.cpp