Fixing broken bots.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229176 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Bieneman 2015-02-13 23:10:31 +00:00
parent 8c6097d490
commit 0213b090b8

View File

@ -198,7 +198,7 @@ public:
assert(std::count_if(RegisteredOptionCategories.begin(),
RegisteredOptionCategories.end(),
[cat](const OptionCategory *Category) {
return getName() == Category->getName();
return cat->getName() == Category->getName();
}) == 0 &&
"Duplicate option categories");