Skip to content

Commit fdd565c

Browse files
authored
Remove superfluous semicolons and format code snippets in "Troubleshoot template instantiation impact on build time" topic
1 parent 55acdad commit fdd565c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/build-insights/tutorials/build-insights-template-view.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ In this article, you create a project that shows how template instantiation affe
3737

3838
```cpp
3939
#pragma once
40+
4041
#include <utility>
4142
#include <vector>
4243

@@ -56,7 +57,7 @@ In this article, you create a project that shows how template instantiation affe
5657
inline size_t LargeValue()
5758
{
5859
return sizeof(S3<std::make_index_sequence<1000>>);
59-
};
60+
}
6061

6162
inline size_t SmallValue()
6263
{
@@ -156,7 +157,7 @@ From the **Specialization Name** column, the expensive instantiation is `S3<std:
156157
inline size_t LargeValue()
157158
{
158159
return sizeof(S3<std::make_index_sequence<1000>>);
159-
};
160+
}
160161
```
161162

162163
There are three main ways to decrease the cost of template instantiations.

0 commit comments

Comments
 (0)