Skip to content

Commit 0e882ed

Browse files
committed
Fix A7-1-1 test
1 parent db071d3 commit 0e882ed

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cpp/autosar/test/rules/A7-1-1/test.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ class Issue18 {
6666
public:
6767
template <typename T> void F(const T &s) {
6868
// ignore uninstantiated templates
69-
std::ostream ostr(0); // COMPLIANT
70-
ostr << s; // <= Modified here
69+
std::cout << s << '\n'; // COMPLIANT
7170
return;
7271
}
7372
};

0 commit comments

Comments
 (0)