Changeset 27697

Timestamp:
Jun 14, 2023, 9:28:37 AM (14 months ago)
Author:
wraitii
Message:

Remove useless line from rP25442

This is unused and makes the function twice as slow as it needs to be.

Differential Revision: https://code.wildfiregames.com/D5015

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ps/trunk/source/scriptinterface/ScriptInterface.h

    r26274 r27697  
    1 /* Copyright (C) 2022 Wildfire Games.
     1/* Copyright (C) 202 Wildfire Games.
    22 * This file is part of 0 A.D.
    33 *
     
    118118    {
    119119        static_assert(!std::is_same_v<void, T>);
    120         ScriptInterface::CmptPrivate::GetCBData(rq.cx);
    121120        return static_cast<T*>(ObjectFromCBData<void>(rq));
    122121    }
Note: See TracChangeset for help on using the changeset viewer.