Enable some additional warnings. (#675)

This commit is contained in:
Geoff Romer authored and GitHub committed 2021-07-26 11:42:38 -07:00
1 parent a1c164f598
commit d4ed6b1083
2 files changed
+7

No files matched your search

+5
View File
@@ -72,6 +72,11 @@ struct Stack {
std::vector<T> elements;
};
// Explicitly enable CTAD to silence warnings.
// TODO: consider removing this (and perhaps the associated constructor).
template <typename T>
Stack(T x) -> Stack<T>;
} // namespace Carbon
#endif // EXECUTABLE_SEMANTICS_INTERPRETER_CONS_LIST_H_