reapack

Package manager for REAPER
Log | Files | Refs | Submodules | README | LICENSE

commit 0571fe351d16c70bde876dc5aeff548224711f1d
parent be83f547aaa81ff9b63f75c6c8f9e4bcd387a09d
Author: cfillion <cfillion@users.noreply.github.com>
Date:   Fri, 28 Jul 2017 17:03:37 -0400

tiny bit of refactoring – rename variable to make a bit more sense

Diffstat:
Msrc/remote.cpp | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/remote.cpp b/src/remote.cpp @@ -37,11 +37,11 @@ static bool validateName(const string &name) static const regex invalidPattern( "[\\.\x20].+|.+[\\.\x20]|CLOCK\\$|COM\\d|LPT\\d", icase); - smatch match, invalid; - regex_match(name, match, validPattern); + smatch valid, invalid; + regex_match(name, valid, validPattern); regex_match(name, invalid, invalidPattern); - return !match.empty() && invalid.empty(); + return !valid.empty() && invalid.empty(); } static bool validateUrl(const string &url)