mirror of
https://gitlab.com/fbb-git/cppannotations
synced 2024-11-16 07:48:44 +01:00
fixed typo
This commit is contained in:
parent
91d0e07755
commit
a2e3af01f0
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ complication. Consider the following program. When run, it displays the value
|
||||||
template <typename Tp>
|
template <typename Tp>
|
||||||
Tp operator+(Tp const &lhs, Tp const &rhs)
|
Tp operator+(Tp const &lhs, Tp const &rhs)
|
||||||
{
|
{
|
||||||
return static_cast<X>(12);
|
return static_cast<Tp>(12);
|
||||||
};
|
};
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
|
|
Loading…
Reference in a new issue