Skip to content

Commit

Permalink
Fixup shadowed variables (google#513)
Browse files Browse the repository at this point in the history
  • Loading branch information
dj2 committed Nov 15, 2018
1 parent 823901b commit eb743ec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libshaderc/include/shaderc/shaderc.hpp
Expand Up @@ -202,14 +202,14 @@ class CompileOptions {
options_,
[](void* user_data, const char* requested_source, int type,
const char* requesting_source, size_t include_depth) {
auto* includer = static_cast<IncluderInterface*>(user_data);
return includer->GetInclude(requested_source,
auto* sub_includer = static_cast<IncluderInterface*>(user_data);
return sub_includer->GetInclude(requested_source,
(shaderc_include_type)type,
requesting_source, include_depth);
},
[](void* user_data, shaderc_include_result* include_result) {
auto* includer = static_cast<IncluderInterface*>(user_data);
return includer->ReleaseInclude(include_result);
auto* sub_includer = static_cast<IncluderInterface*>(user_data);
return sub_includer->ReleaseInclude(include_result);
},
includer_.get());
}
Expand Down

0 comments on commit eb743ec

Please sign in to comment.