File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -288,7 +288,7 @@ vector<Ref<RepoPlugin>> Repository::GetPlugins() const
288288
289289Ref<RepoPlugin> Repository::GetPluginByPath (const string& pluginPath)
290290{
291- return new RepoPlugin (BNNewPluginReference ( BNRepositoryGetPluginByPath (m_object, pluginPath.c_str () )));
291+ return new RepoPlugin (BNRepositoryGetPluginByPath (m_object, pluginPath.c_str ()));
292292}
293293
294294string Repository::GetFullPath () const
@@ -335,10 +335,10 @@ bool RepositoryManager::AddRepository(const std::string& url,
335335
336336Ref<Repository> RepositoryManager::GetRepositoryByPath (const std::string& repoPath)
337337{
338- return new Repository (BNNewRepositoryReference ( BNRepositoryGetRepositoryByPath (m_object, repoPath.c_str () )));
338+ return new Repository (BNRepositoryGetRepositoryByPath (m_object, repoPath.c_str ()));
339339}
340340
341341Ref<Repository> RepositoryManager::GetDefaultRepository ()
342342{
343- return new Repository (BNNewRepositoryReference ( BNRepositoryManagerGetDefaultRepository (m_object) ));
343+ return new Repository (BNRepositoryManagerGetDefaultRepository (m_object));
344344}
You can’t perform that action at this time.
0 commit comments