D25022: Add some const &

Albert Astals Cid <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
aacid created this revision.
Herald added a project: KWin.
Herald added a subscriber: kwin.
aacid requested review of this revision.

REVISION SUMMARY
  Won't make things go much faster since everything that was
  being passed by value is refcounted but still const & is a bit faster
  than refcounting

REPOSITORY
  R108 KWin

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D25022

AFFECTED FILES
  autotests/mock_effectshandler.h
  effects.cpp
  effects.h
  effects/backgroundcontrast/contrast.cpp
  effects/backgroundcontrast/contrast.h
  effects/blur/blur.cpp
  effects/blur/blur.h
  effects/colorpicker/colorpicker.cpp
  effects/colorpicker/colorpicker.h
  effects/coverswitch/coverswitch.cpp
  effects/coverswitch/coverswitch.h
  effects/cube/cube.cpp
  effects/cube/cube.h
  effects/cubeslide/cubeslide.cpp
  effects/cubeslide/cubeslide.h
  effects/desktopgrid/desktopgrid.cpp
  effects/desktopgrid/desktopgrid.h
  effects/flipswitch/flipswitch.cpp
  effects/flipswitch/flipswitch.h
  effects/invert/invert.cpp
  effects/invert/invert.h
  effects/lookingglass/lookingglass.cpp
  effects/lookingglass/lookingglass.h
  effects/magnifier/magnifier.cpp
  effects/magnifier/magnifier.h
  effects/mouseclick/mouseclick.cpp
  effects/mouseclick/mouseclick.h
  effects/mousemark/mousemark.cpp
  effects/mousemark/mousemark.h
  effects/presentwindows/presentwindows.cpp
  effects/presentwindows/presentwindows.h
  effects/screenedge/screenedgeeffect.cpp
  effects/screenedge/screenedgeeffect.h
  effects/screenshot/screenshot.cpp
  effects/screenshot/screenshot.h
  effects/showfps/showfps.cpp
  effects/showfps/showfps.h
  effects/showpaint/showpaint.cpp
  effects/showpaint/showpaint.h
  effects/slide/slide.cpp
  effects/slide/slide.h
  effects/snaphelper/snaphelper.cpp
  effects/snaphelper/snaphelper.h
  effects/startupfeedback/startupfeedback.cpp
  effects/startupfeedback/startupfeedback.h
  effects/thumbnailaside/thumbnailaside.cpp
  effects/thumbnailaside/thumbnailaside.h
  effects/touchpoints/touchpoints.cpp
  effects/touchpoints/touchpoints.h
  effects/trackmouse/trackmouse.cpp
  effects/trackmouse/trackmouse.h
  effects/windowgeometry/windowgeometry.cpp
  effects/windowgeometry/windowgeometry.h
  effects/zoom/zoom.cpp
  effects/zoom/zoom.h
  kcmkwin/kwindecoration/declarative-plugin/previewbutton.cpp
  kcmkwin/kwindecoration/declarative-plugin/previewbutton.h
  kcmkwin/kwinrules/ruleswidget.cpp
  kcmkwin/kwinrules/ruleswidget.h
  libkwineffects/anidata.cpp
  libkwineffects/anidata_p.h
  libkwineffects/kwinanimationeffect.cpp
  libkwineffects/kwinanimationeffect.h
  libkwineffects/kwineffects.cpp
  libkwineffects/kwineffects.h
  libkwineffects/kwinglplatform.cpp
  libkwineffects/kwingltexture.cpp
  libkwineffects/kwingltexture.h
  libkwineffects/kwinglutils.cpp
  libkwineffects/kwinglutils.h
  libkwineffects/kwinglutils_funcs.cpp
  libkwineffects/kwinglutils_funcs.h
  main.h
  orientation_sensor.h
  virtualdesktops.h
  xkb.h

To: aacid
Cc: kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.