Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/marian.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcin Junczys-Dowmunt <junczys@amu.edu.pl>2016-05-04 01:51:17 +0300
committerMarcin Junczys-Dowmunt <junczys@amu.edu.pl>2016-05-04 01:51:17 +0300
commit82b97c853674e3a7272648eb046318959c3c39e3 (patch)
treee673a410afbd49196254147d0f4278d777096a66 /src
parent8ca29596f9684450323429edfcfede700754b4ae (diff)
more coolness
Diffstat (limited to 'src')
-rw-r--r--src/mad.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mad.h b/src/mad.h
index 47d27be4..79257ab7 100644
--- a/src/mad.h
+++ b/src/mad.h
@@ -24,6 +24,7 @@ struct Chainable {
virtual void set_zero_adjoint() { }
static inline void* operator new(size_t nbytes) {
+ // thread_local variable
return p.ordered_malloc(nbytes);
}
};