Skip to content

Instantly share code, notes, and snippets.

@tpoechtrager
Created August 17, 2014 16:28
Show Gist options
  • Save tpoechtrager/c32bf140678f5109ee45 to your computer and use it in GitHub Desktop.
Save tpoechtrager/c32bf140678f5109ee45 to your computer and use it in GitHub Desktop.
diff --git a/wrapper/compiler.cpp b/wrapper/compiler.cpp
index 41b74d7..10ddee3 100644
--- a/wrapper/compiler.cpp
+++ b/wrapper/compiler.cpp
@@ -781,8 +781,8 @@ struct Target {
"c++1y", "gnu++1y", "c++14", "gnu++14",
"c++1z", "gnu++1z" };
- for (auto std : STD) {
- if (!strcmp(langstd, std))
+ for (auto lstd : STD) {
+ if (!strcmp(langstd, lstd))
return true;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment