Skip to content

Commit 29aef64

Browse files
committed
FIX: Fix all symbols sentinel value
1 parent d01d8bc commit 29aef64

File tree

3 files changed

+135
-105
lines changed

3 files changed

+135
-105
lines changed

example/symbology_resolve.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include "databento/symbology.hpp"
99

1010
int main(int argc, char* argv[]) {
11-
if (argc < 6) {
11+
if (argc < 7) {
1212
std::cerr << "USAGE: symbology-resolve <DATASET> <STYPE_IN> <STYPE_OUT> "
1313
"<START_DATE> <END_DATE> <SYMBOLS...>\n";
1414
return EX_USAGE;

include/databento/symbology.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
namespace databento {
1010
// Sentinel value for requesting all symbols
11-
static const std::vector<std::string> kAllSymbols{};
11+
static const std::vector<std::string> kAllSymbols{"*"};
1212

1313
struct StrMappingInterval {
1414
// YYYY-MM-DD

0 commit comments

Comments
 (0)