Enable some additional warnings. (#675)

This commit is contained in:
Geoff Romer
2021-07-26 11:42:38 -07:00
committed by GitHub
parent a1c164f598
commit d4ed6b1083
2 changed files with 7 additions and 0 deletions
+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_