Skip to content

Commit 941dec5

Browse files
authored
Merge pull request #1751 from drvoss/patch-63
Update initializing-classes-and-structs-without-constructors-cpp.md
2 parents 399f537 + 07f0802 commit 941dec5

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)