Index: lib/ErrorSupport_cpp.template |
diff --git a/lib/ErrorSupport_cpp.template b/lib/ErrorSupport_cpp.template |
index 34593ec13de84d3f3a948fbb3022f1a645683d81..1d107f697a22cb661c56b43007452a57eb91ce6f 100644 |
--- a/lib/ErrorSupport_cpp.template |
+++ b/lib/ErrorSupport_cpp.template |
@@ -8,17 +8,8 @@ |
namespace {{namespace}} { |
{% endfor %} |
-ErrorSupport::ErrorSupport() : m_errorString(nullptr) { } |
-ErrorSupport::ErrorSupport(String* errorString) : m_errorString(errorString) { } |
-ErrorSupport::~ErrorSupport() |
-{ |
- if (m_errorString && hasErrors()) { |
- StringBuilder builder; |
- builder.append("Internal error(s): "); |
- builder.append(errors()); |
- *m_errorString = builder.toString(); |
- } |
-} |
+ErrorSupport::ErrorSupport() { } |
+ErrorSupport::~ErrorSupport() { } |
void ErrorSupport::setName(const String& name) |
{ |