Skip to content

Commit 344d3e4

Browse files
committed
local function made static
1 parent f53601c commit 344d3e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

file-commander-core/src/shell/cshell.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ class CItemIdArrayReleaser {
178178
const std::vector<ITEMIDLIST*>& _array;
179179
};
180180

181-
bool prepareContextMenuForObjects(std::vector<std::wstring> objects, void* parentWindow, HMENU& hmenu, IContextMenu*& imenu);
181+
static bool prepareContextMenuForObjects(std::vector<std::wstring> objects, void* parentWindow, HMENU& hmenu, IContextMenu*& imenu);
182182

183183
// Pos must be global
184184

@@ -450,7 +450,7 @@ bool OsShell::recycleBinContextMenu(int xPos, int yPos, void *parentWindow)
450450
return true;
451451
}
452452

453-
bool prepareContextMenuForObjects(std::vector<std::wstring> objects, void * parentWindow, HMENU& hmenu, IContextMenu*& imenu)
453+
static bool prepareContextMenuForObjects(std::vector<std::wstring> objects, void * parentWindow, HMENU& hmenu, IContextMenu*& imenu)
454454
{
455455
CO_INIT_HELPER(COINIT_APARTMENTTHREADED);
456456

0 commit comments

Comments
 (0)