Skip to content

Commit 0ada3e1

Browse files
committed
[Tests] Use non-deprecated TraitsData for MediaCreation test
Part of OpenAssetIO/OpenAssetIO#1311. In #13 we missed an `#include` that was still using the deprecated location of the `TraitsData` type. Signed-off-by: David Feltell <[email protected]>
1 parent 4434601 commit 0ada3e1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

RELEASE_NOTES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ v1.0.0-alpha.x
77
### Breaking Changes
88

99
* Update to use non-deprecated `TraitsData` path/namespace.
10-
[#13](https://github.com/OpenAssetIO/OpenAssetIO-Test-CMake/pull/13)
10+
[OpenAssetIO#1311](https://github.com/OpenAssetIO/OpenAssetIO/issues/1311)
1111

1212
### New Features
1313

src/test.mediacreation.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33

44
// Include all headers to test they are where we expect and can be
55
// compiled.
6-
#include <openassetio/TraitsData.hpp>
6+
#include <openassetio/trait/TraitsData.hpp>
77

88
#include <openassetio_mediacreation/openassetio_mediacreation.hpp>
99

1010
int main() {
1111
auto trait = openassetio_mediacreation::traits::managementPolicy::ManagedTrait(
12-
openassetio::TraitsData::make());
12+
openassetio::trait::TraitsData::make());
1313

1414
trait.imbue();
1515
return 0;

0 commit comments

Comments
 (0)