fix(util/sexpr/options): add workaround for clang++
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
db36d465dc
commit
3562c76161
1 changed files with 2 additions and 1 deletions
|
@ -32,7 +32,8 @@ std::ostream & operator<<(std::ostream & out, option_kind k) {
|
|||
return out;
|
||||
}
|
||||
|
||||
static std::unique_ptr<option_declarations> g_option_declarations;
|
||||
// Replace with std::unique_ptr after bug in clang++ is fixed
|
||||
static std::shared_ptr<option_declarations> g_option_declarations;
|
||||
|
||||
option_declarations & get_option_declarations_core() {
|
||||
if (!g_option_declarations)
|
||||
|
|
Loading…
Reference in a new issue