diff --git a/cpp/ycm/ClangCompleter/TranslationUnitStore.cpp b/cpp/ycm/ClangCompleter/TranslationUnitStore.cpp index 7250eb5c..26320024 100644 --- a/cpp/ycm/ClangCompleter/TranslationUnitStore.cpp +++ b/cpp/ycm/ClangCompleter/TranslationUnitStore.cpp @@ -82,13 +82,13 @@ shared_ptr< TranslationUnit > TranslationUnitStore::GetOrCreate( filename_to_flags_hash_[ filename ] = HashForFlags( flags ); } - shared_ptr< TranslationUnit > unit; + boost::shared_ptr< TranslationUnit > unit; try { - unit = make_shared< TranslationUnit >( filename, - unsaved_files, - flags, - clang_index_ ); + unit = boost::make_shared< TranslationUnit >( filename, + unsaved_files, + flags, + clang_index_ ); } catch ( ClangParseError & ) { Remove( filename ); return unit;