mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
mac os doesn't have throwing variant get
This commit is contained in:
parent
e2df8a5abc
commit
7021ff8cb2
@ -99,9 +99,9 @@ DLL_HEADER void ExportGeom2d(py::module &m)
|
||||
seg->bc = *intptr;
|
||||
else
|
||||
{
|
||||
auto bcname = get<string>(*bc);
|
||||
auto bcname = get_if<string>(&*bc);
|
||||
seg->bc = self.GetNSplines() + 1;
|
||||
self.SetBCName(seg->bc, bcname);
|
||||
self.SetBCName(seg->bc, *bcname);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user