Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 3d83f83e authored by gsell's avatar gsell
Browse files

restrict qualifier removed from IPPL methods

parent d447b22b
No related branches found
No related tags found
No related merge requests found
......@@ -11,11 +11,6 @@
#ifndef BRICK_EXPRESSION_H
#define BRICK_EXPRESSION_H
// define away "restrict" if we need to
#ifdef IPPL_NO_RESTRICT
#define restrict /**/
#endif
// include files
#include "Utility/Pooled.h"
#include "Utility/RefCounted.h"
......@@ -49,11 +44,7 @@ public:
{
}
#ifdef IPPL_RESTRICT_BUG
virtual void apply();
#else
virtual void apply() restrict;
#endif
private:
LHS Lhs;
......
......@@ -126,11 +126,7 @@ public:
// BrickExpression::apply - just use BrickExpLoop
// ada: remove restrict from apply to make g++ 2.95.3 happy
template<unsigned Dim, class LHS, class RHS, class OP>
#ifdef IPPL_RESTRICT_BUG
void BrickExpression<Dim,LHS,RHS,OP>::apply()
#else
void BrickExpression<Dim,LHS,RHS,OP>::apply() restrict
#endif
{
......
......@@ -21,12 +21,6 @@
// forward declarations
template <unsigned Dim> class NDIndex;
// define away "restrict" if we need to
#ifdef IPPL_NO_RESTRICT
#define restrict /**/
#endif
//----------------------------------------------------------------------
// A set of counters for a brick iterator.
template<unsigned Dim>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment