Skip to content

Commit

Permalink
Arcadia compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Prokoptsev committed Nov 8, 2013
1 parent 4846905 commit 43fb7c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/pire_ut.cpp
Expand Up @@ -616,7 +616,7 @@ SIMPLE_UNIT_TEST(Slow)
class AlignedString {
public:
explicit AlignedString(const char* str): m_str((char*) strdup(str)) {}
explicit AlignedString(const std::string& str): m_str((char*) strdup(str.c_str())) {}
explicit AlignedString(const ystring& str): m_str((char*) strdup(str.c_str())) {}
~AlignedString() { free(m_str); }
const char* c_str() const { return m_str; }
private:
Expand Down

0 comments on commit 43fb7c9

Please sign in to comment.