#123 Fixed warning on Linux

This commit is contained in:
Xinyu Hou 2016-09-15 16:51:56 -04:00 committed by Andrew Nelless
parent eafc548b97
commit ce4effa2c8
1 changed files with 2 additions and 2 deletions

View File

@ -363,8 +363,8 @@ Client::resetOptions()
void
Client::setOptions(const OptionsList& options)
{
for (OptionsList::const_iterator index = options.cbegin();
index != options.cend(); ++index) {
for (OptionsList::const_iterator index = options.begin();
index != options.end(); ++index) {
const OptionID id = *index;
if (id == kOptionClipboardSharing) {
index++;