Skip to content

Commit

Permalink
fixup! apply Sonar suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
Karry committed Sep 6, 2023
1 parent 1d265b4 commit ff64e19
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libosmscout-client/include/osmscoutclient/DBInstance.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@ class OSMSCOUT_CLIENT_API DBInstance
lastUsage=std::chrono::steady_clock::now();
};

DBInstance(const DBInstance&) = delete;
DBInstance(DBInstance&&) = delete;

DBInstance& operator=(const DBInstance&) = delete;
DBInstance& operator=(DBInstance&&) = delete;

virtual ~DBInstance()
{
Close();
Expand Down

0 comments on commit ff64e19

Please sign in to comment.