Skip to content

Commit fd6a87b

Browse files
author
David Medine
committed
changed constructor of lsl::xml_element to have default
1 parent 6b8f6b1 commit fd6a87b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/lsl_cpp.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ namespace lsl {
125125
* written to disk when recording the stream (playing a similar role as a file header).
126126
*/
127127
class xml_element;
128+
128129
class stream_info {
129130
public:
130131
/**
@@ -1040,7 +1041,7 @@ namespace lsl {
10401041
class xml_element {
10411042
public:
10421043
/// Constructor.
1043-
xml_element(lsl_xml_ptr obj) : obj(obj) {}
1044+
xml_element(lsl_xml_ptr obj=0) : obj(obj) {}
10441045

10451046

10461047
// === Tree Navigation ===

0 commit comments

Comments
 (0)