Feat: runtime profile override with getenv
[platform/framework/web/chromium-efl.git] / sql / statement_id.cc
1 // Copyright 2018 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include <cstring>
6
7 #include "sql/statement_id.h"
8
9 namespace sql {
10
11 bool StatementID::operator<(const StatementID& rhs) const noexcept {
12   if (rhs.source_line_ != source_line_)
13     return source_line_ < rhs.source_line_;
14   return std::strcmp(source_file_, rhs.source_file_) < 0;
15 }
16
17 }  // namespace sql