Skip to content

Commit 6d08824

Browse files
author
kr-2003
committed
removed timeit def constr
1 parent 4771adb commit 6d08824

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/xmagics/execution.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@ namespace xcpp
3535

3636
int timeit::exec_counter = 0;
3737

38-
timeit::timeit()
39-
{
40-
}
41-
4238
void timeit::get_options(argparser& argpars)
4339
{
4440
argpars.add_description("Time execution of a C++ statement or expression");

src/xmagics/execution.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ namespace xcpp
2323
{
2424
public:
2525

26-
timeit();
27-
26+
XEUS_CPP_API
2827
virtual void operator()(const std::string& line) override
2928
{
3029
std::string cline = line;
3130
std::string cell = "";
3231
execute(cline, cell);
3332
}
3433

34+
XEUS_CPP_API
3535
virtual void operator()(const std::string& line, const std::string& cell) override
3636
{
3737
std::string cline = line;

0 commit comments

Comments
 (0)