Skip to content

Commit

Permalink
Fix some variable shadowing warnings
Browse files Browse the repository at this point in the history
Fix to instances of essentially the same problem. The shadowed
declaration is the response_message typedef in the surrounding class
definition.
  • Loading branch information
bkircher committed Mar 22, 2018
1 parent b674f59 commit 4a6c542
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions include/ews/ews.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20904,10 +20904,10 @@ namespace internal
std::vector<folder_response_message::response_message> messages;
for_each_child_node(
*response_messages,
[&](const rapidxml::xml_node<>& response_message) {
auto result = parse_response_class_and_code(response_message);
[&](const rapidxml::xml_node<>& node) {
auto result = parse_response_class_and_code(node);

auto items_elem = response_message.first_node_ns(
auto items_elem = node.first_node_ns(
uri<>::microsoft::messages(), "Folders");
EWS_ASSERT(items_elem && "Expected <Folders> element");

Expand Down Expand Up @@ -20959,10 +20959,10 @@ namespace internal
std::vector<item_response_messages::response_message> messages;
for_each_child_node(
*response_messages,
[&](const rapidxml::xml_node<>& response_message) {
auto result = parse_response_class_and_code(response_message);
[&](const rapidxml::xml_node<>& node) {
auto result = parse_response_class_and_code(node);

auto items_elem = response_message.first_node_ns(
auto items_elem = node.first_node_ns(
uri<>::microsoft::messages(), "Items");
EWS_ASSERT(items_elem && "Expected <Items> element");

Expand Down

0 comments on commit 4a6c542

Please sign in to comment.