Make params const and pass by ref

This commit is contained in:
amaitland
2015-08-03 10:43:35 +10:00
parent 7498c65741
commit e274340438
4 changed files with 6 additions and 6 deletions
@@ -12,7 +12,7 @@ namespace CefSharp
{
namespace Serialization
{
JavascriptRootObject^ DeserializeJsObject(CefRefPtr<CefListValue> &list, int index)
JavascriptRootObject^ DeserializeJsObject(const CefRefPtr<CefListValue>& list, int index)
{
auto result = gcnew JavascriptRootObject();
auto subList = list->GetList(index);