Skip to content

Commit eff91ed

Browse files
committed
fix functional-test-net compilation failures due to static macro line number conflicts
[git-p4: depot-paths = "//dev/main.cpp/": change = 100120]
1 parent 730ce81 commit eff91ed

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

tests/common/include/common/TestFilter.hpp

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
2-
* Copyright (c) 2000, 2020, Oracle and/or its affiliates.
2+
* Copyright (c) 2000, 2023, Oracle and/or its affiliates.
33
*
44
* Licensed under the Universal Permissive License v 1.0 as shown at
5-
* http://oss.oracle.com/licenses/upl.
5+
* https://oss.oracle.com/licenses/upl.
66
*/
77
#ifndef COH_TEST_TEST_FILTER_HPP
88
#define COH_TEST_TEST_FILTER_HPP
@@ -16,17 +16,17 @@
1616

1717
COH_OPEN_NAMESPACE2(common, test)
1818

19-
using coherence::util::Filter;
2019
using coherence::io::pof::annotation::Portable;
2120
using coherence::io::pof::annotation::PortableProperty;
21+
using coherence::util::Filter;
2222

2323
/**
2424
* Simple filter for validation of custom Filters with view-scheme configurations.
2525
* Wouldn't recommend its use elsewhere; it doesn't do much.
2626
*
2727
* @author rl 2019.05.14
2828
* @since 12.2.1.4
29-
*/
29+
*/
3030
class TestFilter
3131
: public class_spec<TestFilter,
3232
extends<Object>,
@@ -72,7 +72,7 @@ class TestFilter
7272
{
7373
return m_cCount;
7474
}
75-
75+
7676
void setCount(int32_t cCount)
7777
{
7878
m_cCount = cCount;
@@ -102,7 +102,6 @@ class TestFilter
102102
MemberView<String> f_vsAttr;
103103
int32_t m_cCount;
104104
};
105-
106105
COH_REGISTER_CLASS(TypedClass<TestFilter>::create()->annotate(Portable::create())
107106
->declare(COH_CONSTRUCTOR2(TestFilter, String::View, BoxHandle<const Integer32>))
108107
->declare(COH_PROPERTY (TestFilter, Attr, String::View))

0 commit comments

Comments
 (0)