Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit ee2797c

Browse files
committed
RepoMan: use Q_ASSERT instead of assert (fix build on linux)
1 parent 948f8e9 commit ee2797c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Libs/libRepoMan/Data/Repo.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919

2020
#include "libRepoMan/Data/Repo.hpp"
2121

22-
#include <cassert>
23-
2422
namespace RM
2523
{
2624

@@ -40,7 +38,7 @@ namespace RM
4038
Git::Repository Repo::gitRepo(bool doLoad)
4139
{
4240
if (!mRepo && doLoad) {
43-
assert(false); // ###REPOMAN - Not sure if we still want to support this...
41+
Q_ASSERT(false); // ###REPOMAN - Not sure if we still want to support this...
4442
}
4543

4644
return mRepo;

0 commit comments

Comments
 (0)