ChaiScript / ChaiScript

@@ -331,7 +331,6 @@
Loading
331 331
332 332
          Boxed_Value fn(this->children[0]->eval(t_ss));
333 333
334 -
          using ConstFunctionTypePtr = const dispatch::Proxy_Function_Base *;
335 334
          try {
336 335
            return (*t_ss->boxed_cast<const dispatch::Proxy_Function_Base *>(fn))(Function_Params{params}, t_ss.conversions());
337 336
          }

@@ -156,7 +156,7 @@
Loading
156 156
157 157
158 158
      m_engine.add(fun(
159 -
            [=, this](const dispatch::Proxy_Function_Base &t_fun, const std::vector<Boxed_Value> &t_params) -> Boxed_Value {
159 +
            [this](const dispatch::Proxy_Function_Base &t_fun, const std::vector<Boxed_Value> &t_params) -> Boxed_Value {
160 160
              Type_Conversions_State s(this->m_engine.conversions(), this->m_engine.conversions().conversion_saves());
161 161
              return t_fun(Function_Params{t_params}, s);
162 162
            }), "call");
@@ -168,7 +168,7 @@
Loading
168 168
      m_engine.add(fun([this](const std::string &t_type_name){ return m_engine.get_type(t_type_name, true); }), "type");
169 169
170 170
      m_engine.add(fun(
171 -
            [=, this](const Type_Info &t_from, const Type_Info &t_to, const std::function<Boxed_Value (const Boxed_Value &)> &t_func) {
171 +
            [this](const Type_Info &t_from, const Type_Info &t_to, const std::function<Boxed_Value (const Boxed_Value &)> &t_func) {
172 172
              m_engine.add(chaiscript::type_conversion(t_from, t_to, t_func));
173 173
            }
174 174
          ), "add_type_conversion");
Files Coverage
include/chaiscript 88.90%
src 72.79%
static_libs 100.00%
unittests 45.33%
Project Totals (60 files) 69.11%
1138.3
TRAVIS_OS_NAME=linux
1137.3
TRAVIS_OS_NAME=linux

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading