mirror of
https://github.com/boostorg/python.git
synced 2026-01-26 06:42:27 +00:00
avoid Visual C++ 7.1 "resolved overload was found by argument-dependent lookup" warning
[SVN r34016]
This commit is contained in:
@@ -23,7 +23,7 @@ namespace {
|
||||
if (!getattr(instance_obj, "__safe_for_unpickling__", none))
|
||||
{
|
||||
str type_name(getattr(instance_class, "__name__"));
|
||||
str module_name(getattr(instance_class, "__module__", str()));
|
||||
str module_name(getattr(instance_class, "__module__", object("")));
|
||||
if (module_name)
|
||||
module_name += ".";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user