Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
d2bed7f0
Commit
d2bed7f0
authored
Jan 13, 2019
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix initialiser in C++ test: MSVC++ cannot assign statically to non-static members.
parent
ed7a5bb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
tests/run/cpp_operators_helper.h
tests/run/cpp_operators_helper.h
+3
-1
No files found.
tests/run/cpp_operators_helper.h
View file @
d2bed7f0
...
@@ -84,10 +84,12 @@ NONMEMBER_BIN_OP2(COMMA)
...
@@ -84,10 +84,12 @@ NONMEMBER_BIN_OP2(COMMA)
#define REF_BIN_OP(op) int& operator op (int x) { x++; return value; }
#define REF_BIN_OP(op) int& operator op (int x) { x++; return value; }
class
RefTestOps
{
class
RefTestOps
{
int
value
=
0
;
int
value
;
public:
public:
RefTestOps
()
{
value
=
0
;
}
REF_UN_OP
(
-
);
REF_UN_OP
(
-
);
REF_UN_OP
(
+
);
REF_UN_OP
(
+
);
REF_UN_OP
(
*
);
REF_UN_OP
(
*
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment