If generating output string stream operator for a class, add the dependency includes <ostream> and <sstream> to the module
This commit is contained in:
1 parent
a05fcef850
commit
30bfe7c371
1 file changed
+2
@@ -1164,6 +1164,8 @@ public:
|
||||
to a string.
|
||||
"""
|
||||
self.has_output_stream_operator = True
|
||||
self.module.add_include("<ostream>")
|
||||
self.module.add_include("<sstream>")
|
||||
|
||||
def add_constructor(self, *args, **kwargs):
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user