@@ -298,15 +298,15 @@ namespace codi {
298298 // / @copydoc ActiveArgumentValueStore::restore()
299299 CODI_INLINE static void restore (ByteDataView* store, TemporaryMemory& allocator, size_t size,
300300 RestoreActions const & actions, ArgumentStore& data) {
301- CODI_UNUSED_ARG (size);
301+ CODI_UNUSED (size);
302302
303303 PointerTraits::restore (store, allocator, 1 , actions, data.base );
304304 }
305305
306306 // / @copydoc ActiveArgumentValueStore::store()
307307 CODI_INLINE static void store (ByteDataView* dataStore, TemporaryMemory& allocator, T const & value, size_t size,
308308 StoreActions const & actions, ArgumentStore& data) {
309- CODI_UNUSED_ARG (size);
309+ CODI_UNUSED (size);
310310
311311 PointerTraits::store (dataStore, allocator, value, 1 , actions, data.base );
312312 }
@@ -321,39 +321,39 @@ namespace codi {
321321 // / @copydoc ActiveArgumentValueStore::setExternalFunctionOutput()
322322 CODI_INLINE static void setExternalFunctionOutput (bool tapeActive, T& value, size_t size, Identifier& identifier,
323323 Real& primal, Real& oldPrimals) {
324- CODI_UNUSED_ARG (size);
324+ CODI_UNUSED (size);
325325
326326 PointerTraits::setExternalFunctionOutput (tapeActive, &value, 1 , &identifier, &primal, &oldPrimals);
327327 }
328328
329329 // / @copydoc ActiveArgumentValueStore::getPrimalsFromVector()
330330 CODI_INLINE static void getPrimalsFromVector (VectorAccessInterface<Real, Identifier>* data, size_t size,
331331 Identifier& identifier, Real& primal) {
332- CODI_UNUSED_ARG (size);
332+ CODI_UNUSED (size);
333333
334334 PointerTraits::getPrimalsFromVector (data, 1 , &identifier, &primal);
335335 }
336336
337337 // / @copydoc ActiveArgumentValueStore::setPrimalsIntoVector()
338338 CODI_INLINE static void setPrimalsIntoVector (VectorAccessInterface<Real, Identifier>* data, size_t size,
339339 Identifier& identifier, Real& primal) {
340- CODI_UNUSED_ARG (size);
340+ CODI_UNUSED (size);
341341
342342 PointerTraits::setPrimalsIntoVector (data, 1 , &identifier, &primal);
343343 }
344344
345345 // / @copydoc ActiveArgumentValueStore::getGradients()
346346 CODI_INLINE static void getGradients (VectorAccessInterface<Real, Identifier>* data, size_t size, bool reset,
347347 Identifier& identifier, Gradient& gradient, size_t dim) {
348- CODI_UNUSED_ARG (size);
348+ CODI_UNUSED (size);
349349
350350 PointerTraits::getGradients (data, 1 , reset & identifier, &gradient, dim);
351351 }
352352
353353 // / @copydoc ActiveArgumentValueStore::setGradients()
354354 CODI_INLINE static void setGradients (VectorAccessInterface<Real, Identifier>* data, size_t size, bool update,
355355 Identifier& identifier, Gradient& gradient, size_t dim) {
356- CODI_UNUSED_ARG (size);
356+ CODI_UNUSED (size);
357357
358358 PointerTraits::setGradients (data, 1 , update, &identifier, &gradient, dim);
359359 }
0 commit comments