Skip to content

Commit 0b5250f

Browse files
committed
Minor
1 parent 6909528 commit 0b5250f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/misra/test/rules/RULE-9-5-2/test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class MyContainer {
1818

1919
class ConvertibleToVector {
2020
public:
21-
operator std::vector<int>() const { return {}; }
21+
operator std::vector<int>() const { return {7, 8, 9}; }
2222
std::array<int, 3>::iterator begin() { return data_.begin(); }
2323
std::array<int, 3>::iterator end() { return data_.end(); }
2424

0 commit comments

Comments
 (0)