Skip to content

Move unnecessarily inlined implementations to otherwise empty cpp file #2437

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 25, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/util/decision_procedure.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ Author: Daniel Kroening, [email protected]

#include "decision_procedure.h"


decision_proceduret::~decision_proceduret()
{
}
2 changes: 2 additions & 0 deletions src/util/decision_procedure.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ class decision_proceduret:public messaget
{
}

virtual ~decision_proceduret();

// get a value from satisfying instance if satisfiable
// returns nil if not available
virtual exprt get(const exprt &expr) const=0;
Expand Down
7 changes: 7 additions & 0 deletions src/util/dstring.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,10 @@ Author: Daniel Kroening, [email protected]
/// Container for C-Strings

#include "dstring.h"

#include <ostream>

std::ostream &dstringt::operator<<(std::ostream &out) const
{
return out << as_string();
}
5 changes: 1 addition & 4 deletions src/util/dstring.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,7 @@ class dstringt final

// output

std::ostream &operator<<(std::ostream &out) const
{
return out << as_string();
}
std::ostream &operator<<(std::ostream &out) const;

// non-standard

Expand Down