Update Scanner.cpp

Small fix.