Skip to content

Commit

Permalink
Fixed a clang compiler error ElektraInitiative#2
Browse files Browse the repository at this point in the history
  • Loading branch information
fberlakovich committed Jun 23, 2014
1 parent bdcd680 commit 67cb090
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/libtools/include/backend.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class Backend
void tryPlugin (std::string name);

public:
Backend(std::string name, std::string mountpoint);
Backend(std::string name = "", std::string mountpoint = "");
~Backend();

void addPlugin (std::string name);
Expand Down
2 changes: 1 addition & 1 deletion src/libtools/src/backend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace tools
/** Creates a new backend with a given name and mountpoint.
* Parameters are needed for serialisation only, so you can
* keep them empty if you do not want to serialise. */
Backend::Backend(string name_ = "", string mp_ = "") :
Backend::Backend(string name_, string mp_) :
name(name_), mp(mp_)
{
}
Expand Down

0 comments on commit 67cb090

Please sign in to comment.