MCPcopy Create free account
hub / github.com/WinMerge/winmerge / InitDiffMap

Method InitDiffMap

Src/DiffList.cpp:28–32  ·  view source on GitHub ↗

* @brief Initialize DiffMap. * @param [in] nlines Lines to add to the list. */

Source from the content-addressed store, hash-verified

26 * @param [in] nlines Lines to add to the list.
27 */
28void DiffMap::InitDiffMap(int nlines)
29{
30 // sentry value so we can check later that we set them all
31 m_map.assign(nlines, BAD_MAP_ENTRY);
32}
33
34
35/**

Callers 2

AdjustDiffBlocksMethod · 0.80
AdjustDiffBlocks3wayMethod · 0.80

Calls 1

assignMethod · 0.45

Tested by

no test coverage detected