From 6812c973c9fa9b4ad642ab81856c05f87bd6fcc4 Mon Sep 17 00:00:00 2001 From: KyleMiles Date: Thu, 27 Jan 2022 22:43:28 -0500 Subject: Format All Files --- pluginmanager.cpp | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'pluginmanager.cpp') diff --git a/pluginmanager.cpp b/pluginmanager.cpp index d3108907..6a72e69c 100644 --- a/pluginmanager.cpp +++ b/pluginmanager.cpp @@ -3,12 +3,14 @@ using namespace BinaryNinja; using namespace std; -#define RETURN_STRING(s) do { \ - char* contents = (char*)(s); \ - string result(contents); \ - BNFreeString(contents); \ - return result; \ -}while(0) +#define RETURN_STRING(s) \ + do \ + { \ + char* contents = (char*)(s); \ + string result(contents); \ + BNFreeString(contents); \ + return result; \ + } while (0) RepoPlugin::RepoPlugin(BNRepoPlugin* plugin) { @@ -326,7 +328,7 @@ vector> RepositoryManager::GetRepositories() } bool RepositoryManager::AddRepository(const std::string& url, - const std::string& repoPath) // Relative path within the repositories directory + const std::string& repoPath) // Relative path within the repositories directory { return BNRepositoryManagerAddRepository(m_object, url.c_str(), repoPath.c_str()); } -- cgit v1.3.1