Skip to content

Commit

Permalink
Fix relative include path for Views/Image (#10275)
Browse files Browse the repository at this point in the history
* Fix relative include path for Views/Image

The DynamicAutomationPeer.h header is in the parent `Views` folder and
this include path is not supported by clang. This change adjusts the
include path.

* Change files

* Do not use relative path
  • Loading branch information
rozele committed Aug 15, 2022
1 parent 0fc1972 commit 7ee2363
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "Fix relative include path for Views/Image",
"packageName": "react-native-windows",
"email": "erozell@outlook.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
#include <IReactInstance.h>
#include <Utils/PropertyHandlerUtils.h>
#include <Utils/PropertyUtils.h>
#include <Views/DynamicAutomationProperties.h>
#include <Views/ShadowNodeBase.h>
#include "DynamicAutomationProperties.h"
#include "ReactImage.h"

namespace winrt {
Expand Down
2 changes: 1 addition & 1 deletion vnext/Microsoft.ReactNative/Views/Image/ReactImage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include <winrt/Windows.Web.Http.h>

#include <Utils/ValueUtils.h>
#include "DynamicAutomationPeer.h"
#include <Views/DynamicAutomationPeer.h>
#include "Unicode.h"
#include "XamlView.h"
#include "cdebug.h"
Expand Down

0 comments on commit 7ee2363

Please sign in to comment.