Below you can see the front-view size comparison of the Olympus E-PM2 and Leica M10. The Olympus E-PM2 is 29 mm narrower and 46 mm thinner than the Leica M10 but it is also 25 mm taller.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.