Skip to content

Commit b6f41a1

Browse files
committed
[Tests] Use non-deprecated TraitsData for C++ test
Update the `TraitsData` usage to reference the new location/namespace. Signed-off-by: David Feltell <[email protected]>
1 parent 4320683 commit b6f41a1

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

RELEASE_NOTES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ Release Notes
44
v1.0.0-alpha.x
55
--------------
66

7+
### Breaking Changes
8+
9+
* Update to use non-deprecated `TraitsData` path/namespace.
10+
[#13](https://github.com/OpenAssetIO/OpenAssetIO-Test-CMake/pull/13)
11+
712
### New Features
813

914
* OpenAssetIO-MediaCreation integrated as a dependency, with tests.

src/test.core.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// SPDX-License-Identifier: Apache-2.0
22
// Copyright 2022 The Foundry Visionmongers Ltd
33

4-
#include <openassetio/TraitsData.hpp>
4+
#include <openassetio/trait/TraitsData.hpp>
55

66
int main() {
7-
auto traits = openassetio::TraitsData::make();
7+
auto traits = openassetio::trait::TraitsData::make();
88
traits->setTraitProperty("a", "b", openassetio::Str{"c"});
99
}

0 commit comments

Comments
 (0)