mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-11 14:15:46 +08:00
#123 Fixed warning on Linux
This commit is contained in:
committed by
Andrew Nelless
parent
eafc548b97
commit
ce4effa2c8
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user