Skip to content

Commit 07f0802

Browse files
authored
Update initializing-classes-and-structs-without-constructors-cpp.md
1 parent 399f537 commit 07f0802

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/cpp/initializing-classes-and-structs-without-constructors-cpp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ int main()
103103
class_d d3{ 4.5, "string", 'c' };
104104

105105
class_d d4{ "string", 'c' }; // compiler error
106-
class_d d5("string", 'c', 2.0 }; // compiler error
106+
class_d d5{ "string", 'c', 2.0 }; // compiler error
107107
}
108108
```
109109

0 commit comments

Comments
 (0)