Skip to content

Commit

Permalink
Merge pull request rism-digital#1458 from eNote-GmbH/use-multimap
Browse files Browse the repository at this point in the history
Use multimap instead of vector of pairs
  • Loading branch information
lpugin authored May 13, 2020
2 parents 4653a20 + 920c45a commit 715be28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions include/vrv/functorparams.h
Original file line number Diff line number Diff line change
Expand Up @@ -1463,8 +1463,8 @@ class PrepareLyricsParams : public FunctorParams {
class PrepareLinkingParams : public FunctorParams {
public:
PrepareLinkingParams() { m_fillList = true; }
ArrayOfLinkingInterfaceUuidPairs m_nextUuidPairs;
ArrayOfLinkingInterfaceUuidPairs m_sameasUuidPairs;
MapOfLinkingInterfaceUuidPairs m_nextUuidPairs;
MapOfLinkingInterfaceUuidPairs m_sameasUuidPairs;
bool m_fillList;
};

Expand Down
2 changes: 1 addition & 1 deletion include/vrv/vrvdef.h
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ typedef std::vector<BeamElementCoord *> ArrayOfBeamElementCoords;

typedef std::vector<std::pair<int, int> > ArrayOfIntPairs;

typedef std::multimap<std::string, LinkingInterface *> ArrayOfLinkingInterfaceUuidPairs;
typedef std::multimap<std::string, LinkingInterface *> MapOfLinkingInterfaceUuidPairs;

typedef std::vector<std::pair<PlistInterface *, std::string> > ArrayOfPlistInterfaceUuidPairs;

Expand Down

0 comments on commit 715be28

Please sign in to comment.