From ce4effa2c8618f69af75b411dac84700ce7c7675 Mon Sep 17 00:00:00 2001 From: Xinyu Hou Date: Thu, 15 Sep 2016 16:51:56 -0400 Subject: [PATCH] #123 Fixed warning on Linux --- src/lib/client/Client.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/client/Client.cpp b/src/lib/client/Client.cpp index f01044ea..591b4cab 100644 --- a/src/lib/client/Client.cpp +++ b/src/lib/client/Client.cpp @@ -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++;