#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 void
Client::setOptions(const OptionsList& options) Client::setOptions(const OptionsList& options)
{ {
for (OptionsList::const_iterator index = options.cbegin(); for (OptionsList::const_iterator index = options.begin();
index != options.cend(); ++index) { index != options.end(); ++index) {
const OptionID id = *index; const OptionID id = *index;
if (id == kOptionClipboardSharing) { if (id == kOptionClipboardSharing) {
index++; index++;