Index: src/IceTypes.h |
diff --git a/src/IceTypes.h b/src/IceTypes.h |
index 9353d749542ff73869a057eeaac0421e9424a6f8..a881fb441d9471a258de5bbc146a0eaca691de2d 100644 |
--- a/src/IceTypes.h |
+++ b/src/IceTypes.h |
@@ -130,7 +130,7 @@ public: |
// Creates a function signature type with the given return type. |
// Parameter types should be added using calls to appendArgType. |
- FuncSigType() : ReturnType(IceType_void) {} |
+ FuncSigType() = default; |
FuncSigType(const FuncSigType &Ty) = default; |
void appendArgType(Type ArgType) { ArgList.push_back(ArgType); } |
@@ -147,7 +147,7 @@ public: |
private: |
// The return type. |
- Type ReturnType; |
+ Type ReturnType = IceType_void; |
// The list of parameters. |
ArgListType ArgList; |
}; |