Fixing bizarre compilation error on recent clang
This commit is contained in:
parent
9d34fad24f
commit
938e2391e2
@ -82,10 +82,10 @@ shared_ptr< TranslationUnit > TranslationUnitStore::GetOrCreate(
|
|||||||
filename_to_flags_hash_[ filename ] = HashForFlags( flags );
|
filename_to_flags_hash_[ filename ] = HashForFlags( flags );
|
||||||
}
|
}
|
||||||
|
|
||||||
shared_ptr< TranslationUnit > unit;
|
boost::shared_ptr< TranslationUnit > unit;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
unit = make_shared< TranslationUnit >( filename,
|
unit = boost::make_shared< TranslationUnit >( filename,
|
||||||
unsaved_files,
|
unsaved_files,
|
||||||
flags,
|
flags,
|
||||||
clang_index_ );
|
clang_index_ );
|
||||||
|
Loading…
Reference in New Issue
Block a user