Skip to content

Commit 072563f

Browse files
committed
Fixed warning in GCC 4.9: 'lsl::stream_info' has a field 'lsl::stream_info::obj' whose type uses the anonymous namespace 1> class stream_info {
1 parent a44ee43 commit 072563f

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

include/lsl_c.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ typedef enum {
121121
proc_monotonize = 4, /* Force the time-stamps to be monotonically ascending (only makes sense if timestamps are dejittered). */
122122
proc_threadsafe = 8, /* Post-processing is thread-safe (same inlet can be read from by multiple threads); uses somewhat more CPU. */
123123
proc_ALL = 1|2|4|8 /* The combination of all possible post-processing options. */
124-
} processing_options_t;
124+
} lsl_processing_options_t;
125125

126126
/**
127127
* Possible error codes.

include/lsl_cpp.h

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@
2323
#include <stdexcept>
2424

2525
namespace lsl {
26-
namespace {
27-
#include "lsl_c.h"
28-
}
29-
26+
#include "lsl_c.h"
3027

3128
/**
3229
* Constant to indicate that a stream has variable sampling rate.
@@ -83,7 +80,7 @@ namespace lsl {
8380
post_threadsafe = 8, // Post-processing is thread-safe (same inlet can be read from by multiple threads); uses somewhat more CPU.
8481
post_ALL = 1|2|4|8 // The combination of all possible post-processing options.
8582
};
86-
83+
8784
/**
8885
* Protocol version.
8986
* The major version is protocol_version() / 100;

0 commit comments

Comments
 (0)