Attempt at fixing CI issue

release/4.3a0
Frank Dellaert 2021-12-16 13:54:49 -05:00
parent 7257797a5f
commit 6bcd1296c0
1 changed files with 3 additions and 0 deletions

View File

@ -39,6 +39,9 @@ namespace gtsam {
// Forward all constructors. // Forward all constructors.
using std::vector<DiscreteKey>::vector; using std::vector<DiscreteKey>::vector;
/// Get around gcc bug, which does not like above.
DiscreteKeys() {}
/// Construct from a key /// Construct from a key
DiscreteKeys(const DiscreteKey& key) { DiscreteKeys(const DiscreteKey& key) {
push_back(key); push_back(key);